#56239C#56239C
#56239C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.181 H 296.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #56239C |
|---|---|
| RGB | rgb(86, 35, 156) |
| HSL | hsl(265, 63%, 37%) |
| HSV | hsv(265, 78%, 61%) |
| CMYK | cmyk(44.9%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(28.33, 48.37, -56.51) |
| CIE-LCH | lch(28.33, 74.38, 310.56°) |
| OKLab | oklab(40.4% 0.0804 -0.1618) |
| OKLCH | oklch(40.4% 0.181 296.4) |
| XYZ | xyz(10.4379, 5.5806, 31.9733) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.64
Indigo Blue
#3A18B1
ΔE00 5.27
Indigo
#4B0082
ΔE00 6.22
Violet Blue
#510AC9
ΔE00 6.34
Purple Blue
#5D21D0
ΔE00 7.14
Indigo (survey)
#380282
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56239C #699C23
analogous
#232D9C #56239C #92239C
triadic
#56239C #9C5623 #239C56
tetradic
#56239C #9C232D #699C23 #239C92
square
#56239C #9C232D #699C23 #239C92
split-complementary
#56239C #9C9223 #2D9C23
monochromatic
#1F0D38 #3A186A #56239C #722ECE #935EDB
Accessibility & contrast
On white
9.92
#56239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#56239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56239C
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56239C | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#43445E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #56239c; /* rgb */ color: rgb(86, 35, 156); /* oklch */ color: oklch(40.4% 0.181 296.4);
Tailwind
colors: {
custom: {
50: '#8d64ba',
500: '#56239c',
950: '#000000',
},
}SCSS
$custom: #56239c; $custom-light: #8d64ba; $custom-dark: #000000;
JSON
{
"hex": "#56239c",
"rgb": {
"r": 86,
"g": 35,
"b": 156
},
"hsl": {
"h": 265.289,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.40404,
"c": 0.18073,
"h": 296.4
},
"luminance": 0.05581
}Semantic roles & 50–950 ramp
primary
#56239C
secondary
#95C05B
accent
#E641A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81