#531DAB

Indigo

#531DABIndigo

Luminance

0.057

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#531DAB
No #
531DAB

RGB

RGB
rgb(83, 29, 171)
Values
R:83 G:29 B:171

HSL

HSL
hsl(263, 71%, 39%)
Values
H:263° S:71% L:39%

HSV / HSB

HSV
hsv(263, 83%, 67%)
Values
H:263° S:83% V:67%

CMYK

CMYK
cmyk(51%, 83%, 0%, 33%)
Values
C:51 M:83 Y:0 K:33

LAB

LAB
lab(29, 54, -65)
Values
L:29 a:54 b:-65

OKLCH

OKLCH
oklch(40.9% 0.202 291.9)
Values
L:40.9% C:0.202 H:291.9°

Code Formats

CSS
color: #531DAB;
Swift
UIColor(red: 0.325, green: 0.114, blue: 0.671, alpha: 1.0)
Kotlin
Color(0xFF531DAB)
Flutter
Color(0xFF531DAB)
Android
#FF531DAB

Contrast Analysis

WCAG compliance with grayscale colors

On White

9.85:1

AAA

On Black

2.13:1

Fail

Grayscale Contrast

Aa

0%

2.1

Fail
Aa

10%

1.8

Fail
Aa

20%

1.3

Fail
Aa

30%

1.2

Fail
Aa

40%

1.7

Fail
Aa

50%

2.5

Fail
Aa

60%

3.5

AA-large
Aa

70%

4.7

AA
Aa

80%

6.1

AA
Aa

90%

7.8

AAA
Aa

100%

9.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 9.85:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #854CE1 0%, #35126D 100%)
OKLCH
linear-gradient(90deg, oklch(56.2% 0.214 296.4) 0%, oklch(30.2% 0.143 293.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #6411E8 0%, #4F04C8 100%)
OKLCH
linear-gradient(135deg, oklch(48.2% 0.268 287.8) 0%, oklch(42.2% 0.243 285.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #531DAB 0%, #74AA1D 100%)
OKLCH
linear-gradient(90deg, oklch(40.9% 0.202 291.9) 0%, oklch(67.5% 0.171 129.5) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #1D2DAA 0%, #531DAB 50%, #9A1DAA 100%)
OKLCH
linear-gradient(90deg, oklch(38.6% 0.196 268.3) 0%, oklch(40.9% 0.202 291.9) 50%, oklch(50.3% 0.218 322.7) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #531DAA 0%, #1C122B 100%)
OKLCH
linear-gradient(180deg, oklch(40.8% 0.201 292.1) 0%, oklch(20.9% 0.049 300.7) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #7636DD 0%, #401683 100%)
OKLCH
radial-gradient(circle, oklch(51.7% 0.233 294.0) 0%, oklch(34.1% 0.164 292.8) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette