#5E239F#5E239F
#5E239F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.185 H 299.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5E239F |
|---|---|
| RGB | rgb(94, 35, 159) |
| HSL | hsl(269, 64%, 38%) |
| HSV | hsv(269, 78%, 62%) |
| CMYK | cmyk(40.9%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(29.63, 50.45, -56.17) |
| CIE-LCH | lch(29.63, 75.50, 311.93°) |
| OKLab | oklab(41.62% 0.0918 -0.1606) |
| OKLCH | oklch(41.62% 0.185 299.7) |
| XYZ | xyz(11.4736, 6.0848, 33.3642) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.22
Violet Blue
#510AC9
ΔE00 6.35
Purple Blue
#5D21D0
ΔE00 6.75
Indigo
#4B0082
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E239F #649F23
analogous
#23269F #5E239F #9C239F
triadic
#5E239F #9F5E23 #239F5E
tetradic
#5E239F #9F2326 #649F23 #239F9C
square
#5E239F #9F2326 #649F23 #239F9C
split-complementary
#5E239F #9F9C23 #269F23
monochromatic
#230D3B #40186D #5E239F #7C2ED1 #9B60DC
Accessibility & contrast
On white
9.47
#5E239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#5E239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E239F
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E239F | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#4F4460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5e239f; /* rgb */ color: rgb(94, 35, 159); /* oklch */ color: oklch(41.6% 0.185 299.7);
Tailwind
colors: {
custom: {
50: '#9265bc',
500: '#5e239f',
950: '#000000',
},
}SCSS
$custom: #5e239f; $custom-light: #9265bc; $custom-dark: #000000;
JSON
{
"hex": "#5e239f",
"rgb": {
"r": 94,
"g": 35,
"b": 159
},
"hsl": {
"h": 268.548,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.41621,
"c": 0.18493,
"h": 299.7
},
"luminance": 0.06085
}Semantic roles & 50–950 ramp
primary
#5E239F
secondary
#91C15D
accent
#E74198
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81