#56308E#56308E
#56308E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.148 H 298.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #56308E |
|---|---|
| RGB | rgb(86, 48, 142) |
| HSL | hsl(264, 49%, 37%) |
| HSV | hsv(264, 66%, 56%) |
| CMYK | cmyk(39.4%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(29.53, 38.03, -45.96) |
| CIE-LCH | lch(29.53, 59.66, 309.61°) |
| OKLab | oklab(40.9% 0.0699 -0.1309) |
| OKLCH | oklch(40.9% 0.148 298.1) |
| XYZ | xyz(9.7760, 6.0452, 26.2377) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.27
Darkslateblue
#483D8B
ΔE00 5.33
Blueberry
#464196
ΔE00 6.69
Indigo
#4B0082
ΔE00 7.96
Purple (survey)
#7E1E9C
ΔE00 7.97
Ocean Blue
#4F42B5
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56308E #688E30
analogous
#30398E #56308E #85308E
triadic
#56308E #8E5630 #308E56
tetradic
#56308E #8E3039 #688E30 #308E85
square
#56308E #8E3039 #688E30 #308E85
split-complementary
#56308E #8E8530 #398E30
monochromatic
#1F1133 #3A2160 #56308E #723FBC #936BCD
Accessibility & contrast
On white
9.51
#56308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#56308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56308E
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56308E | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#49455A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #56308e; /* rgb */ color: rgb(86, 48, 142); /* oklch */ color: oklch(40.9% 0.148 298.1);
Tailwind
colors: {
custom: {
50: '#8a6bb0',
500: '#56308e',
950: '#000000',
},
}SCSS
$custom: #56308e; $custom-light: #8a6bb0; $custom-dark: #000000;
JSON
{
"hex": "#56308e",
"rgb": {
"r": 86,
"g": 48,
"b": 142
},
"hsl": {
"h": 264.255,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.40896,
"c": 0.14844,
"h": 298.1
},
"luminance": 0.06045
}Semantic roles & 50–950 ramp
primary
#56308E
secondary
#94B465
accent
#D94FA1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F