#5C418F#5C418F
#5C418F is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.125 H 297.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5C418F |
|---|---|
| RGB | rgb(92, 65, 143) |
| HSL | hsl(261, 38%, 41%) |
| HSV | hsv(261, 55%, 56%) |
| CMYK | cmyk(35.7%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(34.06, 29.78, -39.24) |
| CIE-LCH | lch(34.06, 49.26, 307.19°) |
| OKLab | oklab(44.4% 0.0566 -0.111) |
| OKLCH | oklch(44.4% 0.125 297) |
| XYZ | xyz(11.2606, 8.0389, 26.9397) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.23
Rebeccapurple
#663399
ΔE00 4.86
Blueberry
#464196
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 7.38
Royal Purple
#7851A9
ΔE00 7.41
Twilight
#4E518B
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C418F #748F41
analogous
#414D8F #5C418F #83418F
triadic
#5C418F #8F5C41 #418F5C
tetradic
#5C418F #8F414D #748F41 #418F83
square
#5C418F #8F414D #748F41 #418F83
split-complementary
#5C418F #8F8341 #4D8F41
monochromatic
#261B3B #412E65 #5C418F #7959B4 #9B84C7
Accessibility & contrast
On white
8.05
#5C418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#5C418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C418F
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C418F | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225092
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#505161
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5c418f; /* rgb */ color: rgb(92, 65, 143); /* oklch */ color: oklch(44.4% 0.125 297.0);
Tailwind
colors: {
custom: {
50: '#8d76b0',
500: '#5c418f',
950: '#000000',
},
}SCSS
$custom: #5c418f; $custom-light: #8d76b0; $custom-dark: #000000;
JSON
{
"hex": "#5c418f",
"rgb": {
"r": 92,
"g": 65,
"b": 143
},
"hsl": {
"h": 260.769,
"s": 37.5,
"l": 40.784
},
"oklch": {
"l": 0.44395,
"c": 0.12459,
"h": 297
},
"luminance": 0.08039
}Semantic roles & 50–950 ramp
primary
#5C418F
secondary
#9EB17A
accent
#CD5AA6
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0810
muted
#7D7B7F