#5F239F#5F239F
#5F239F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.185 H 300.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F239F |
|---|---|
| RGB | rgb(95, 35, 159) |
| HSL | hsl(269, 64%, 38%) |
| HSV | hsv(269, 78%, 62%) |
| CMYK | cmyk(40.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(29.76, 50.62, -55.95) |
| CIE-LCH | lch(29.76, 75.45, 312.14°) |
| OKLab | oklab(41.74% 0.0933 -0.1599) |
| OKLCH | oklch(41.74% 0.185 300.3) |
| XYZ | xyz(11.5768, 6.1380, 33.3690) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.77
Purple (survey)
#7E1E9C
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.33
Violet Blue
#510AC9
ΔE00 6.43
Purple Blue
#5D21D0
ΔE00 6.78
Indigo
#4B0082
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F239F #639F23
analogous
#23259F #5F239F #9D239F
triadic
#5F239F #9F5F23 #239F5F
tetradic
#5F239F #9F2325 #639F23 #239F9D
square
#5F239F #9F2325 #639F23 #239F9D
split-complementary
#5F239F #9F9D23 #259F23
monochromatic
#230D3B #41186D #5F239F #7D2ED1 #9C60DC
Accessibility & contrast
On white
9.43
#5F239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#5F239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F239F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F239F | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#504460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5f239f; /* rgb */ color: rgb(95, 35, 159); /* oklch */ color: oklch(41.7% 0.185 300.3);
Tailwind
colors: {
custom: {
50: '#9365bc',
500: '#5f239f',
950: '#000000',
},
}SCSS
$custom: #5f239f; $custom-light: #9365bc; $custom-dark: #000000;
JSON
{
"hex": "#5f239f",
"rgb": {
"r": 95,
"g": 35,
"b": 159
},
"hsl": {
"h": 269.032,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.41742,
"c": 0.1851,
"h": 300.3
},
"luminance": 0.06138
}Semantic roles & 50–950 ramp
primary
#5F239F
secondary
#91C15D
accent
#E74197
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81