#5D438F#5D438F
#5D438F is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.9% C 0.121 H 297.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5D438F |
|---|---|
| RGB | rgb(93, 67, 143) |
| HSL | hsl(261, 36%, 41%) |
| HSV | hsv(261, 53%, 56%) |
| CMYK | cmyk(35%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(34.65, 28.82, -38.30) |
| CIE-LCH | lch(34.65, 47.93, 306.97°) |
| OKLab | oklab(44.86% 0.0552 -0.1082) |
| OKLCH | oklch(44.86% 0.121 297) |
| XYZ | xyz(11.4780, 8.3245, 26.9833) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.52
Rebeccapurple
#663399
ΔE00 5.33
Blueberry
#464196
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 7.05
Twilight
#4E518B
ΔE00 7.14
Ocean Blue
#4F42B5
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D438F #758F43
analogous
#434F8F #5D438F #83438F
triadic
#5D438F #8F5D43 #438F5D
tetradic
#5D438F #8F434F #758F43 #438F83
square
#5D438F #8F434F #758F43 #438F83
split-complementary
#5D438F #8F8343 #4F8F43
monochromatic
#271C3C #422F65 #5D438F #7A5CB3 #9C86C6
Accessibility & contrast
On white
7.88
#5D438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#5D438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D438F
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D438F | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#525262
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5d438f; /* rgb */ color: rgb(93, 67, 143); /* oklch */ color: oklch(44.9% 0.121 297.0);
Tailwind
colors: {
custom: {
50: '#8e78b0',
500: '#5d438f',
950: '#000000',
},
}SCSS
$custom: #5d438f; $custom-light: #8e78b0; $custom-dark: #000000;
JSON
{
"hex": "#5d438f",
"rgb": {
"r": 93,
"g": 67,
"b": 143
},
"hsl": {
"h": 260.526,
"s": 36.19,
"l": 41.176
},
"oklch": {
"l": 0.44855,
"c": 0.12147,
"h": 297
},
"luminance": 0.08325
}Semantic roles & 50–950 ramp
primary
#5D438F
secondary
#9FB17D
accent
#CC5CA6
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0910
muted
#7D7B7F