#5D458F#5D458F
#5D458F is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.2% C 0.118 H 296.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5D458F |
|---|---|
| RGB | rgb(93, 69, 143) |
| HSL | hsl(259, 35%, 42%) |
| HSV | hsv(259, 52%, 56%) |
| CMYK | cmyk(35%, 51.7%, 0%, 43.9%) |
| CIE-LAB | lab(35.14, 27.59, -37.52) |
| CIE-LCH | lch(35.14, 46.58, 306.33°) |
| OKLab | oklab(45.22% 0.0524 -0.1059) |
| OKLCH | oklch(45.22% 0.118 296.3) |
| XYZ | xyz(11.5990, 8.5664, 27.0237) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.67
Blueberry
#464196
ΔE00 5.49
Rebeccapurple
#663399
ΔE00 5.93
Twilight
#4E518B
ΔE00 6.60
Royal Purple
#7851A9
ΔE00 6.87
Ocean Blue
#4F42B5
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D458F #778F45
analogous
#45528F #5D458F #82458F
triadic
#5D458F #8F5D45 #458F5D
tetradic
#5D458F #8F4552 #778F45 #458F82
square
#5D458F #8F4552 #778F45 #458F82
split-complementary
#5D458F #8F8245 #528F45
monochromatic
#271D3C #423166 #5D458F #7A5FB2 #9C89C6
Accessibility & contrast
On white
7.74
#5D458F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#5D458F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D458F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D458F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D458F | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#2F528D
Tritanopia (blue-blind)
#525363
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5d458f; /* rgb */ color: rgb(93, 69, 143); /* oklch */ color: oklch(45.2% 0.118 296.3);
Tailwind
colors: {
custom: {
50: '#8e79b0',
500: '#5d458f',
950: '#000000',
},
}SCSS
$custom: #5d458f; $custom-light: #8e79b0; $custom-dark: #000000;
JSON
{
"hex": "#5d458f",
"rgb": {
"r": 93,
"g": 69,
"b": 143
},
"hsl": {
"h": 259.459,
"s": 34.906,
"l": 41.569
},
"oklch": {
"l": 0.45216,
"c": 0.1182,
"h": 296.3
},
"luminance": 0.08567
}Semantic roles & 50–950 ramp
primary
#5D458F
secondary
#A1B17F
accent
#CB5DA7
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0910
muted
#7D7B7F