#56279C#56279C
#56279C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.176 H 295.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #56279C |
|---|---|
| RGB | rgb(86, 39, 156) |
| HSL | hsl(264, 60%, 38%) |
| HSV | hsv(264, 75%, 61%) |
| CMYK | cmyk(44.9%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(28.98, 46.52, -55.44) |
| CIE-LCH | lch(28.98, 72.37, 310.00°) |
| OKLab | oklab(40.86% 0.0769 -0.1587) |
| OKLCH | oklch(40.86% 0.176 295.9) |
| XYZ | xyz(10.5624, 5.8295, 32.0147) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 5.57
Violet Blue
#510AC9
ΔE00 6.61
Indigo
#4B0082
ΔE00 6.82
Purple Blue
#5D21D0
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56279C #6D9C27
analogous
#27329C #56279C #90279C
triadic
#56279C #9C5627 #279C56
tetradic
#56279C #9C2732 #6D9C27 #279C90
square
#56279C #9C2732 #6D9C27 #279C90
split-complementary
#56279C #9C9027 #329C27
monochromatic
#200F3A #3B1B6B #56279C #7134CC #9365D8
Accessibility & contrast
On white
9.70
#56279C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#56279C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56279C
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56279C | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#43465F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #56279c; /* rgb */ color: rgb(86, 39, 156); /* oklch */ color: oklch(40.9% 0.176 295.9);
Tailwind
colors: {
custom: {
50: '#8c66ba',
500: '#56279c',
950: '#000000',
},
}SCSS
$custom: #56279c; $custom-light: #8c66ba; $custom-dark: #000000;
JSON
{
"hex": "#56279c",
"rgb": {
"r": 86,
"g": 39,
"b": 156
},
"hsl": {
"h": 264.103,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.4086,
"c": 0.1764,
"h": 295.9
},
"luminance": 0.0583
}Semantic roles & 50–950 ramp
primary
#56279C
secondary
#99BE61
accent
#E345A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81