#5F4599#5F4599
#5F4599 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.1% C 0.132 H 295.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4599 |
|---|---|
| RGB | rgb(95, 69, 153) |
| HSL | hsl(259, 38%, 44%) |
| HSV | hsv(259, 55%, 60%) |
| CMYK | cmyk(37.9%, 54.9%, 0%, 40%) |
| CIE-LAB | lab(35.96, 30.94, -42.27) |
| CIE-LCH | lch(35.96, 52.38, 306.20°) |
| OKLab | oklab(46.08% 0.0558 -0.1198) |
| OKLCH | oklch(46.08% 0.132 295) |
| XYZ | xyz(12.5957, 8.9888, 31.2022) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.94
Blueberry
#464196
ΔE00 5.10
Rebeccapurple
#663399
ΔE00 5.22
Royal Purple
#7851A9
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.04
Twilight
#4E518B
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4599 #7F9945
analogous
#455599 #5F4599 #894599
triadic
#5F4599 #995F45 #45995F
tetradic
#5F4599 #994555 #7F9945 #459989
square
#5F4599 #994555 #7F9945 #459989
split-complementary
#5F4599 #998945 #559945
monochromatic
#2B1F45 #45326F #5F4599 #7D63B9 #A08DCC
Accessibility & contrast
On white
7.51
#5F4599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#5F4599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F4599
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4599 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#515668
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5f4599; /* rgb */ color: rgb(95, 69, 153); /* oklch */ color: oklch(46.1% 0.132 295.0);
Tailwind
colors: {
custom: {
50: '#9079b7',
500: '#5f4599',
950: '#000000',
},
}SCSS
$custom: #5f4599; $custom-light: #9079b7; $custom-dark: #000000;
JSON
{
"hex": "#5f4599",
"rgb": {
"r": 95,
"g": 69,
"b": 153
},
"hsl": {
"h": 258.571,
"s": 37.838,
"l": 43.529
},
"oklch": {
"l": 0.4608,
"c": 0.13213,
"h": 295
},
"luminance": 0.08989
}Semantic roles & 50–950 ramp
primary
#5F4599
secondary
#A7B783
accent
#CE5AAA
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80