#5F2F90#5F2F90
#5F2F90 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.154 H 303.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2F90 |
|---|---|
| RGB | rgb(95, 47, 144) |
| HSL | hsl(270, 51%, 37%) |
| HSV | hsv(270, 67%, 56%) |
| CMYK | cmyk(34%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(30.59, 41.12, -45.42) |
| CIE-LCH | lch(30.59, 61.27, 312.15°) |
| OKLab | oklab(41.96% 0.0839 -0.129) |
| OKLCH | oklch(41.96% 0.154 303) |
| XYZ | xyz(10.7687, 6.4795, 27.0635) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.94
Purple (survey)
#7E1E9C
ΔE00 6.20
Darkslateblue
#483D8B
ΔE00 6.80
Blueberry
#464196
ΔE00 8.06
Indigo
#4B0082
ΔE00 8.15
Ocean Blue
#4F42B5
ΔE00 8.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2F90 #60902F
analogous
#2F2F90 #5F2F90 #902F90
triadic
#5F2F90 #905F2F #2F905F
tetradic
#5F2F90 #902F2F #60902F #2F9090
square
#5F2F90 #902F2F #60902F #2F9090
split-complementary
#5F2F90 #90902F #2F902F
monochromatic
#221134 #412062 #5F2F90 #7D3EBE #9C6BCF
Accessibility & contrast
On white
9.15
#5F2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#5F2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2F90
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2F90 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#0A488E
Tritanopia (blue-blind)
#55445B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #5f2f90; /* rgb */ color: rgb(95, 47, 144); /* oklch */ color: oklch(42.0% 0.154 303.0);
Tailwind
colors: {
custom: {
50: '#906bb1',
500: '#5f2f90',
950: '#000000',
},
}SCSS
$custom: #5f2f90; $custom-light: #906bb1; $custom-dark: #000000;
JSON
{
"hex": "#5f2f90",
"rgb": {
"r": 95,
"g": 47,
"b": 144
},
"hsl": {
"h": 269.691,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.4196,
"c": 0.15388,
"h": 303
},
"luminance": 0.0648
}Semantic roles & 50–950 ramp
primary
#5F2F90
secondary
#8EB665
accent
#DA4E95
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0711
muted
#7E7A80