#581C87

Indigo

#581C87Indigo

Luminance

0.047

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#581C87
No #
581C87

RGB

RGB
rgb(88, 28, 135)
Values
R:88 G:28 B:135

HSL

HSL
hsl(274, 66%, 32%)
Values
H:274° S:66% L:32%

HSV / HSB

HSV
hsv(274, 79%, 53%)
Values
H:274° S:79% V:53%

CMYK

CMYK
cmyk(35%, 79%, 0%, 47%)
Values
C:35 M:79 Y:0 K:47

LAB

LAB
lab(26, 46, -48)
Values
L:26 a:46 b:-48

OKLCH

OKLCH
oklch(38.1% 0.166 305.0)
Values
L:38.1% C:0.166 H:305.0°

Code Formats

CSS
color: #581C87;
Swift
UIColor(red: 0.345, green: 0.110, blue: 0.529, alpha: 1.0)
Kotlin
Color(0xFF581C87)
Flutter
Color(0xFF581C87)
Android
#FF581C87

Contrast Analysis

WCAG compliance with grayscale colors

On White

10.88:1

AAA

On Black

1.93:1

Fail

Grayscale Contrast

Aa

0%

1.9

Fail
Aa

10%

1.6

Fail
Aa

20%

1.2

Fail
Aa

30%

1.3

Fail
Aa

40%

1.9

Fail
Aa

50%

2.7

Fail
Aa

60%

3.8

AA-large
Aa

70%

5.2

AA
Aa

80%

6.8

AA
Aa

90%

8.6

AAA
Aa

100%

10.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 10.88: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, #8F34D5 0%, #45166A 100%)
OKLCH
linear-gradient(90deg, oklch(53.7% 0.231 305.4) 0%, oklch(32.4% 0.137 305.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #7714C2 0%, #7209C3 100%)
OKLCH
linear-gradient(135deg, oklch(46.8% 0.234 302.8) 0%, oklch(45.8% 0.238 301.0) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #581C87 0%, #4A871C 100%)
OKLCH
linear-gradient(90deg, oklch(38.1% 0.166 305.0) 0%, oklch(56.1% 0.150 135.2) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #231C87 0%, #581C87 50%, #871C80 100%)
OKLCH
linear-gradient(90deg, oklch(32.5% 0.168 274.7) 0%, oklch(38.1% 0.166 305.0) 50%, oklch(44.6% 0.178 331.1) 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, #591C87 0%, #20142A 100%)
OKLCH
linear-gradient(180deg, oklch(38.2% 0.166 305.6) 0%, oklch(21.8% 0.045 308.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #8229C7 0%, #531A7F 100%)
OKLCH
radial-gradient(circle, oklch(50.0% 0.225 304.7) 0%, oklch(36.5% 0.159 305.2) 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