#5D4F7D#5D4F7D
#5D4F7D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.1% C 0.075 H 297.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4F7D |
|---|---|
| RGB | rgb(93, 79, 125) |
| HSL | hsl(258, 23%, 40%) |
| HSV | hsv(258, 37%, 49%) |
| CMYK | cmyk(25.6%, 36.8%, 0%, 51%) |
| CIE-LAB | lab(36.74, 16.40, -23.94) |
| CIE-LCH | lch(36.74, 29.02, 304.42°) |
| OKLab | oklab(46.11% 0.0344 -0.0665) |
| OKLCH | oklch(46.11% 0.075 297.4) |
| XYZ | xyz(11.0110, 9.3997, 20.6323) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dusk
#4E5481
ΔE00 5.99
Twilight
#4E518B
ΔE00 6.32
Muted Purple
#805B87
ΔE00 9.12
Darkslateblue
#483D8B
ΔE00 9.23
Royal Purple
#7851A9
ΔE00 9.95
Dusty Purple
#825F87
ΔE00 10.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4F7D #6F7D4F
analogous
#4F587D #5D4F7D #744F7D
triadic
#5D4F7D #7D5D4F #4F7D5D
tetradic
#5D4F7D #7D4F58 #6F7D4F #4F7D74
square
#5D4F7D #7D4F58 #6F7D4F #4F7D74
split-complementary
#5D4F7D #7D744F #587D4F
monochromatic
#252032 #413757 #5D4F7D #7A69A0 #9B8FB8
Accessibility & contrast
On white
7.29
#5D4F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5D4F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D4F7D
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4F7D | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43577F
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#575760
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5d4f7d; /* rgb */ color: rgb(93, 79, 125); /* oklch */ color: oklch(46.1% 0.075 297.4);
Tailwind
colors: {
custom: {
50: '#8c80a3',
500: '#5d4f7d',
950: '#000000',
},
}SCSS
$custom: #5d4f7d; $custom-light: #8c80a3; $custom-dark: #000000;
JSON
{
"hex": "#5d4f7d",
"rgb": {
"r": 93,
"g": 79,
"b": 125
},
"hsl": {
"h": 258.261,
"s": 22.549,
"l": 40
},
"oklch": {
"l": 0.46113,
"c": 0.07486,
"h": 297.4
},
"luminance": 0.094
}Semantic roles & 50–950 ramp
primary
#5D4F7D
secondary
#9BA583
accent
#BF69A5
background
#F8F7FA
surface
#F0EEF3
border
#CBC9CD
text
#0C0A0F
muted
#7D7C7F