#5F459F#5F459F
#5F459F is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.5% C 0.140 H 293.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5F459F |
|---|---|
| RGB | rgb(95, 69, 159) |
| HSL | hsl(257, 39%, 45%) |
| HSV | hsv(257, 57%, 62%) |
| CMYK | cmyk(40.3%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(36.35, 32.65, -45.26) |
| CIE-LCH | lch(36.35, 55.81, 305.80°) |
| OKLab | oklab(46.49% 0.056 -0.1286) |
| OKLCH | oklch(46.49% 0.14 293.5) |
| XYZ | xyz(13.1038, 9.1920, 33.8780) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.04
Rebeccapurple
#663399
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 5.92
Bluey Purple
#6241C7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F459F #859F45
analogous
#45589F #5F459F #8C459F
triadic
#5F459F #9F5F45 #459F5F
tetradic
#5F459F #9F4558 #859F45 #459F8C
square
#5F459F #9F4558 #859F45 #459F8C
split-complementary
#5F459F #9F8C45 #589F45
monochromatic
#2C204A #453274 #5F459F #7E65BC #A290CF
Accessibility & contrast
On white
7.40
#5F459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#5F459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F459F
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F459F | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#20549D
Tritanopia (blue-blind)
#4E586B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5f459f; /* rgb */ color: rgb(95, 69, 159); /* oklch */ color: oklch(46.5% 0.140 293.5);
Tailwind
colors: {
custom: {
50: '#9079bc',
500: '#5f459f',
950: '#000000',
},
}SCSS
$custom: #5f459f; $custom-light: #9079bc; $custom-dark: #000000;
JSON
{
"hex": "#5f459f",
"rgb": {
"r": 95,
"g": 69,
"b": 159
},
"hsl": {
"h": 257.333,
"s": 39.474,
"l": 44.706
},
"oklch": {
"l": 0.46492,
"c": 0.14023,
"h": 293.5
},
"luminance": 0.09192
}Semantic roles & 50–950 ramp
primary
#5F459F
secondary
#ABBA86
accent
#CF58AD
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0912
muted
#7E7B81