#56328E#56328E
#56328E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.2% C 0.146 H 297.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #56328E |
|---|---|
| RGB | rgb(86, 50, 142) |
| HSL | hsl(263, 48%, 38%) |
| HSV | hsv(263, 65%, 56%) |
| CMYK | cmyk(39.4%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(29.94, 36.91, -45.29) |
| CIE-LCH | lch(29.94, 58.42, 309.18°) |
| OKLab | oklab(41.2% 0.0676 -0.129) |
| OKLCH | oklch(41.2% 0.146 297.6) |
| XYZ | xyz(9.8596, 6.2125, 26.2656) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.27
Darkslateblue
#483D8B
ΔE00 4.91
Blueberry
#464196
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 7.82
Purple (survey)
#7E1E9C
ΔE00 8.18
Indigo
#4B0082
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56328E #6A8E32
analogous
#323C8E #56328E #84328E
triadic
#56328E #8E5632 #328E56
tetradic
#56328E #8E323C #6A8E32 #328E84
square
#56328E #8E323C #6A8E32 #328E84
split-complementary
#56328E #8E8432 #3C8E32
monochromatic
#1F1233 #3B2261 #56328E #7142BB #936ECC
Accessibility & contrast
On white
9.36
#56328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#56328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56328E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56328E | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#49475B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #56328e; /* rgb */ color: rgb(86, 50, 142); /* oklch */ color: oklch(41.2% 0.146 297.6);
Tailwind
colors: {
custom: {
50: '#8a6cb0',
500: '#56328e',
950: '#000000',
},
}SCSS
$custom: #56328e; $custom-light: #8a6cb0; $custom-dark: #000000;
JSON
{
"hex": "#56328e",
"rgb": {
"r": 86,
"g": 50,
"b": 142
},
"hsl": {
"h": 263.478,
"s": 47.917,
"l": 37.647
},
"oklch": {
"l": 0.41197,
"c": 0.14559,
"h": 297.6
},
"luminance": 0.06213
}Semantic roles & 50–950 ramp
primary
#56328E
secondary
#96B468
accent
#D850A3
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F