#582B99#582B99
#582B99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.168 H 297.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #582B99 |
|---|---|
| RGB | rgb(88, 43, 153) |
| HSL | hsl(265, 56%, 38%) |
| HSV | hsv(265, 72%, 60%) |
| CMYK | cmyk(42.5%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(29.67, 44.10, -52.48) |
| CIE-LCH | lch(29.67, 68.55, 310.04°) |
| OKLab | oklab(41.33% 0.0767 -0.15) |
| OKLCH | oklch(41.33% 0.168 297.1) |
| XYZ | xyz(10.6367, 6.1022, 30.7482) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.26
Indigo Blue
#3A18B1
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.77
Purple (survey)
#7E1E9C
ΔE00 7.28
Indigo
#4B0082
ΔE00 7.35
Violet Blue
#510AC9
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#582B99 #6C992B
analogous
#2B3599 #582B99 #8F2B99
triadic
#582B99 #99582B #2B9958
tetradic
#582B99 #992B35 #6C992B #2B998F
square
#582B99 #992B35 #6C992B #2B998F
split-complementary
#582B99 #998F2B #35992B
monochromatic
#211039 #3D1E69 #582B99 #743AC8 #9569D5
Accessibility & contrast
On white
9.46
#582B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#582B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #582B99
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##582B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##582B99 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#47465F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #582b99; /* rgb */ color: rgb(88, 43, 153); /* oklch */ color: oklch(41.3% 0.168 297.1);
Tailwind
colors: {
custom: {
50: '#8d68b8',
500: '#582b99',
950: '#000000',
},
}SCSS
$custom: #582b99; $custom-light: #8d68b8; $custom-dark: #000000;
JSON
{
"hex": "#582b99",
"rgb": {
"r": 88,
"g": 43,
"b": 153
},
"hsl": {
"h": 264.545,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.41325,
"c": 0.16847,
"h": 297.1
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#582B99
secondary
#98BC64
accent
#DF48A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80