#56279B#56279B
#56279B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.175 H 296.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #56279B |
|---|---|
| RGB | rgb(86, 39, 155) |
| HSL | hsl(264, 60%, 38%) |
| HSV | hsv(264, 75%, 61%) |
| CMYK | cmyk(44.5%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(28.89, 46.25, -54.98) |
| CIE-LCH | lch(28.89, 71.84, 310.07°) |
| OKLab | oklab(40.77% 0.0772 -0.1574) |
| OKLCH | oklch(40.77% 0.175 296.1) |
| XYZ | xyz(10.4781, 5.7958, 31.5706) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.11
Indigo Blue
#3A18B1
ΔE00 5.67
Indigo
#4B0082
ΔE00 6.74
Violet Blue
#510AC9
ΔE00 6.75
Purple Blue
#5D21D0
ΔE00 7.26
Darkslateblue
#483D8B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56279B #6C9B27
analogous
#27329B #56279B #90279B
triadic
#56279B #9B5627 #279B56
tetradic
#56279B #9B2732 #6C9B27 #279B90
square
#56279B #9B2732 #6C9B27 #279B90
split-complementary
#56279B #9B9027 #329B27
monochromatic
#200E39 #3B1B6A #56279B #7133CC #9364D8
Accessibility & contrast
On white
9.73
#56279B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#56279B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56279B
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56279B | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#43455F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #56279b; /* rgb */ color: rgb(86, 39, 155); /* oklch */ color: oklch(40.8% 0.175 296.1);
Tailwind
colors: {
custom: {
50: '#8c66b9',
500: '#56279b',
950: '#000000',
},
}SCSS
$custom: #56279b; $custom-light: #8c66b9; $custom-dark: #000000;
JSON
{
"hex": "#56279b",
"rgb": {
"r": 86,
"g": 39,
"b": 155
},
"hsl": {
"h": 264.31,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.40772,
"c": 0.17528,
"h": 296.1
},
"luminance": 0.05796
}Semantic roles & 50–950 ramp
primary
#56279B
secondary
#98BE60
accent
#E345A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81