#5F4191#5F4191
#5F4191 is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.8% C 0.128 H 298.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4191 |
|---|---|
| RGB | rgb(95, 65, 145) |
| HSL | hsl(263, 38%, 41%) |
| HSV | hsv(263, 55%, 57%) |
| CMYK | cmyk(34.5%, 55.2%, 0%, 43.1%) |
| CIE-LAB | lab(34.51, 31.13, -39.72) |
| CIE-LCH | lch(34.51, 50.47, 308.08°) |
| OKLab | oklab(44.84% 0.0608 -0.1123) |
| OKLCH | oklch(44.84% 0.128 298.4) |
| XYZ | xyz(11.7192, 8.2577, 27.7590) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 4.83
Blueberry
#464196
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.39
Twilight
#4E518B
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4191 #739141
analogous
#414B91 #5F4191 #874191
triadic
#5F4191 #915F41 #41915F
tetradic
#5F4191 #91414B #739141 #419187
square
#5F4191 #91414B #739141 #419187
split-complementary
#5F4191 #918741 #4B9141
monochromatic
#281B3C #432E67 #5F4191 #7C5AB5 #9E84C8
Accessibility & contrast
On white
7.92
#5F4191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#5F4191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F4191
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4191 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215194
Deuteranopia (green-blind)
#2A508F
Tritanopia (blue-blind)
#545162
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5f4191; /* rgb */ color: rgb(95, 65, 145); /* oklch */ color: oklch(44.8% 0.128 298.4);
Tailwind
colors: {
custom: {
50: '#8f76b2',
500: '#5f4191',
950: '#000000',
},
}SCSS
$custom: #5f4191; $custom-light: #8f76b2; $custom-dark: #000000;
JSON
{
"hex": "#5f4191",
"rgb": {
"r": 95,
"g": 65,
"b": 145
},
"hsl": {
"h": 262.5,
"s": 38.095,
"l": 41.176
},
"oklch": {
"l": 0.44844,
"c": 0.12771,
"h": 298.4
},
"luminance": 0.08258
}Semantic roles & 50–950 ramp
primary
#5F4191
secondary
#9EB37B
accent
#CE5AA2
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80