#5F4697#5F4697
#5F4697 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.1% C 0.128 H 295.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4697 |
|---|---|
| RGB | rgb(95, 70, 151) |
| HSL | hsl(259, 37%, 43%) |
| HSV | hsv(259, 54%, 59%) |
| CMYK | cmyk(37.1%, 53.6%, 0%, 40.8%) |
| CIE-LAB | lab(36.08, 29.77, -40.88) |
| CIE-LCH | lch(36.08, 50.57, 306.06°) |
| OKLab | oklab(46.12% 0.0543 -0.1157) |
| OKLCH | oklch(46.12% 0.128 295.2) |
| XYZ | xyz(12.4940, 9.0473, 30.3602) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.97
Blueberry
#464196
ΔE00 5.22
Rebeccapurple
#663399
ΔE00 5.57
Royal Purple
#7851A9
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.46
Twilight
#4E518B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4697 #7E9746
analogous
#465597 #5F4697 #874697
triadic
#5F4697 #975F46 #46975F
tetradic
#5F4697 #974655 #7E9746 #469787
square
#5F4697 #974655 #7E9746 #469787
split-complementary
#5F4697 #978746 #559746
monochromatic
#2A1F43 #45336D #5F4697 #7D63B7 #A08DCA
Accessibility & contrast
On white
7.47
#5F4697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#5F4697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F4697
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4697 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#2B5495
Tritanopia (blue-blind)
#525667
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5f4697; /* rgb */ color: rgb(95, 70, 151); /* oklch */ color: oklch(46.1% 0.128 295.2);
Tailwind
colors: {
custom: {
50: '#907ab6',
500: '#5f4697',
950: '#000000',
},
}SCSS
$custom: #5f4697; $custom-light: #907ab6; $custom-dark: #000000;
JSON
{
"hex": "#5f4697",
"rgb": {
"r": 95,
"g": 70,
"b": 151
},
"hsl": {
"h": 258.519,
"s": 36.652,
"l": 43.333
},
"oklch": {
"l": 0.46123,
"c": 0.12783,
"h": 295.2
},
"luminance": 0.09048
}Semantic roles & 50–950 ramp
primary
#5F4697
secondary
#A6B683
accent
#CD5BAA
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80