#5C279A#5C279A
#5C279A is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.175 H 299.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5C279A |
|---|---|
| RGB | rgb(92, 39, 154) |
| HSL | hsl(268, 60%, 38%) |
| HSV | hsv(268, 75%, 60%) |
| CMYK | cmyk(40.3%, 74.7%, 0%, 39.6%) |
| CIE-LAB | lab(29.56, 47.06, -53.24) |
| CIE-LCH | lch(29.56, 71.06, 311.47°) |
| OKLab | oklab(41.39% 0.0864 -0.1521) |
| OKLCH | oklch(41.39% 0.175 299.6) |
| XYZ | xyz(10.9704, 6.0593, 31.1572) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.27
Purple (survey)
#7E1E9C
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.61
Indigo
#4B0082
ΔE00 6.90
Violet Blue
#510AC9
ΔE00 7.19
Purple Blue
#5D21D0
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C279A #659A27
analogous
#272C9A #5C279A #95279A
triadic
#5C279A #9A5C27 #279A5C
tetradic
#5C279A #9A272C #659A27 #279A95
square
#5C279A #9A272C #659A27 #279A95
split-complementary
#5C279A #9A9527 #2C9A27
monochromatic
#220E38 #3F1B69 #5C279A #7933CB #9964D8
Accessibility & contrast
On white
9.49
#5C279A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#5C279A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C279A
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C279A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C279A | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#4D445E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #5c279a; /* rgb */ color: rgb(92, 39, 154); /* oklch */ color: oklch(41.4% 0.175 299.6);
Tailwind
colors: {
custom: {
50: '#9066b9',
500: '#5c279a',
950: '#000000',
},
}SCSS
$custom: #5c279a; $custom-light: #9066b9; $custom-dark: #000000;
JSON
{
"hex": "#5c279a",
"rgb": {
"r": 92,
"g": 39,
"b": 154
},
"hsl": {
"h": 267.652,
"s": 59.585,
"l": 37.843
},
"oklch": {
"l": 0.41387,
"c": 0.17489,
"h": 299.6
},
"luminance": 0.06059
}Semantic roles & 50–950 ramp
primary
#5C279A
secondary
#92BD5F
accent
#E3459A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80