#36228C#36228C
#36228C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.164 H 282.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #36228C |
|---|---|
| RGB | rgb(54, 34, 140) |
| HSL | hsl(251, 61%, 34%) |
| HSV | hsv(251, 76%, 55%) |
| CMYK | cmyk(61.4%, 75.7%, 0%, 45.1%) |
| CIE-LAB | lab(23.07, 39.41, -55.40) |
| CIE-LCH | lch(23.07, 67.99, 305.43°) |
| OKLab | oklab(35.42% 0.0362 -0.1597) |
| OKLCH | oklch(35.42% 0.164 282.8) |
| XYZ | xyz(6.8255, 3.8213, 25.1838) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.28
Indigo (survey)
#380282
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.47
Midnight Blue
#191970
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.04
Indigo
#4B0082
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36228C #788C22
analogous
#22438C #36228C #6B228C
triadic
#36228C #8C3622 #228C36
tetradic
#36228C #8C2243 #788C22 #228C6B
square
#36228C #8C2243 #788C22 #228C6B
split-complementary
#36228C #8C6B22 #438C22
monochromatic
#100A2A #23165B #36228C #492EBD #6C53D5
Accessibility & contrast
On white
11.90
#36228C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#36228C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36228C
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36228C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36228C | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #36228c; /* rgb */ color: rgb(54, 34, 140); /* oklch */ color: oklch(35.4% 0.164 282.8);
Tailwind
colors: {
custom: {
50: '#7860af',
500: '#36228c',
950: '#000000',
},
}SCSS
$custom: #36228c; $custom-light: #7860af; $custom-dark: #000000;
JSON
{
"hex": "#36228c",
"rgb": {
"r": 54,
"g": 34,
"b": 140
},
"hsl": {
"h": 251.321,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.35417,
"c": 0.16375,
"h": 282.8
},
"luminance": 0.03822
}Semantic roles & 50–950 ramp
primary
#36228C
secondary
#A5B951
accent
#E444C6
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F