#5C339F#5C339F
#5C339F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.166 H 296.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5C339F |
|---|---|
| RGB | rgb(92, 51, 159) |
| HSL | hsl(263, 51%, 41%) |
| HSV | hsv(263, 68%, 62%) |
| CMYK | cmyk(42.1%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(32.14, 42.32, -52.09) |
| CIE-LCH | lch(32.14, 67.12, 309.09°) |
| OKLab | oklab(43.35% 0.0732 -0.1487) |
| OKLCH | oklch(43.35% 0.166 296.2) |
| XYZ | xyz(11.8538, 7.1459, 33.5489) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.49
Ocean Blue
#4F42B5
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.14
Blueberry
#464196
ΔE00 6.54
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Bluey Purple
#6241C7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C339F #769F33
analogous
#33409F #5C339F #92339F
triadic
#5C339F #9F5C33 #339F5C
tetradic
#5C339F #9F3340 #769F33 #339F92
square
#5C339F #9F3340 #769F33 #339F92
split-complementary
#5C339F #9F9233 #409F33
monochromatic
#261542 #412471 #5C339F #794AC5 #9B79D4
Accessibility & contrast
On white
8.64
#5C339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#5C339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C339F
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C339F | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#4B4D64
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #5c339f; /* rgb */ color: rgb(92, 51, 159); /* oklch */ color: oklch(43.3% 0.166 296.2);
Tailwind
colors: {
custom: {
50: '#906ebc',
500: '#5c339f',
950: '#000000',
},
}SCSS
$custom: #5c339f; $custom-light: #906ebc; $custom-dark: #000000;
JSON
{
"hex": "#5c339f",
"rgb": {
"r": 92,
"g": 51,
"b": 159
},
"hsl": {
"h": 262.778,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.43346,
"c": 0.16576,
"h": 296.2
},
"luminance": 0.07146
}Semantic roles & 50–950 ramp
primary
#5C339F
secondary
#A0BC71
accent
#DB4DA5
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81