#592A9F#592A9F
#592A9F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.177 H 296.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #592A9F |
|---|---|
| RGB | rgb(89, 42, 159) |
| HSL | hsl(264, 58%, 39%) |
| HSV | hsv(264, 74%, 62%) |
| CMYK | cmyk(44%, 73.6%, 0%, 37.6%) |
| CIE-LAB | lab(30.11, 46.39, -55.40) |
| CIE-LCH | lch(30.11, 72.26, 309.94°) |
| OKLab | oklab(41.83% 0.0779 -0.1585) |
| OKLCH | oklch(41.83% 0.177 296.2) |
| XYZ | xyz(11.2041, 6.2827, 33.4165) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.55
Indigo Blue
#3A18B1
ΔE00 5.98
Violet Blue
#510AC9
ΔE00 6.59
Purple Blue
#5D21D0
ΔE00 6.68
Purple (survey)
#7E1E9C
ΔE00 7.24
Ocean Blue
#4F42B5
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#592A9F #709F2A
analogous
#2A359F #592A9F #942A9F
triadic
#592A9F #9F592A #2A9F59
tetradic
#592A9F #9F2A35 #709F2A #2A9F94
square
#592A9F #9F2A35 #709F2A #2A9F94
split-complementary
#592A9F #9F942A #359F2A
monochromatic
#23103E #3E1D6F #592A9F #753BCB #976BD8
Accessibility & contrast
On white
9.31
#592A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#592A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #592A9F
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##592A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##592A9F | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#464862
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #592a9f; /* rgb */ color: rgb(89, 42, 159); /* oklch */ color: oklch(41.8% 0.177 296.2);
Tailwind
colors: {
custom: {
50: '#8e68bc',
500: '#592a9f',
950: '#000000',
},
}SCSS
$custom: #592a9f; $custom-light: #8e68bc; $custom-dark: #000000;
JSON
{
"hex": "#592a9f",
"rgb": {
"r": 89,
"g": 42,
"b": 159
},
"hsl": {
"h": 264.103,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.41825,
"c": 0.17665,
"h": 296.2
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#592A9F
secondary
#9BBF66
accent
#E146A3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81