#56279E#56279E
#56279E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.179 H 295.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #56279E |
|---|---|
| RGB | rgb(86, 39, 158) |
| HSL | hsl(264, 60%, 39%) |
| HSV | hsv(264, 75%, 62%) |
| CMYK | cmyk(45.6%, 75.3%, 0%, 38%) |
| CIE-LAB | lab(29.15, 47.05, -56.38) |
| CIE-LCH | lch(29.15, 73.43, 309.85°) |
| OKLab | oklab(41.04% 0.0764 -0.1615) |
| OKLCH | oklch(41.04% 0.179 295.3) |
| XYZ | xyz(10.7332, 5.8978, 32.9140) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.25
Indigo Blue
#3A18B1
ΔE00 5.37
Violet Blue
#510AC9
ΔE00 6.33
Purple Blue
#5D21D0
ΔE00 6.81
Indigo
#4B0082
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56279E #6F9E27
analogous
#27349E #56279E #91279E
triadic
#56279E #9E5627 #279E56
tetradic
#56279E #9E2734 #6F9E27 #279E91
square
#56279E #9E2734 #6F9E27 #279E91
split-complementary
#56279E #9E9127 #349E27
monochromatic
#210F3C #3B1B6D #56279E #7135CD #9466D9
Accessibility & contrast
On white
9.63
#56279E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#56279E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56279E
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56279E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56279E | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#424661
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #56279e; /* rgb */ color: rgb(86, 39, 158); /* oklch */ color: oklch(41.0% 0.179 295.3);
Tailwind
colors: {
custom: {
50: '#8d66bc',
500: '#56279e',
950: '#000000',
},
}SCSS
$custom: #56279e; $custom-light: #8d66bc; $custom-dark: #000000;
JSON
{
"hex": "#56279e",
"rgb": {
"r": 86,
"g": 39,
"b": 158
},
"hsl": {
"h": 263.697,
"s": 60.406,
"l": 38.627
},
"oklch": {
"l": 0.41038,
"c": 0.17866,
"h": 295.3
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#56279E
secondary
#9ABF62
accent
#E444A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81