#220A3E#220A3E
#220A3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 299.7°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #220A3E |
|---|---|
| RGB | rgb(34, 10, 62) |
| HSL | hsl(268, 72%, 14%) |
| HSV | hsv(268, 84%, 24%) |
| CMYK | cmyk(45.2%, 83.9%, 0%, 75.7%) |
| CIE-LAB | lab(8.17, 24.94, -28.21) |
| CIE-LCH | lch(8.17, 37.65, 311.49°) |
| OKLab | oklab(21.96% 0.0459 -0.0806) |
| OKLCH | oklch(21.96% 0.093 299.7) |
| XYZ | xyz(1.6375, 0.9049, 4.6449) |
| Luminance | 0.0091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Purple
#280137
ΔE00 3.53
Very Dark Purple
#2A0134
ΔE00 4.52
Dark Violet
#34013F
ΔE00 5.17
Dark Purple
#35063E
ΔE00 5.18
Dark Indigo
#1F0954
ΔE00 5.33
Deep Purple
#36013F
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#220A3E #263E0A
analogous
#0A0C3E #220A3E #3C0A3E
triadic
#220A3E #3E220A #0A3E22
tetradic
#220A3E #3E0A0C #263E0A #0A3E3C
square
#220A3E #3E0A0C #263E0A #0A3E3C
split-complementary
#220A3E #3E3C0A #0C3E0A
monochromatic
#0E041A #0E041A #220A3E #3F1373 #5C1BA7
Accessibility & contrast
On white
17.78
#220A3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#220A3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #220A3E
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##220A3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##220A3E | 1.00 | 17.78 | 1.18 | 17.78 |
| #FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#1B1723
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #220a3e; /* rgb */ color: rgb(34, 10, 62); /* oklch */ color: oklch(22.0% 0.093 299.7);
Tailwind
colors: {
custom: {
50: '#614b74',
500: '#220a3e',
950: '#000000',
},
}SCSS
$custom: #220a3e; $custom-light: #614b74; $custom-dark: #000000;
JSON
{
"hex": "#220a3e",
"rgb": {
"r": 34,
"g": 10,
"b": 62
},
"hsl": {
"h": 267.692,
"s": 72.222,
"l": 14.118
},
"oklch": {
"l": 0.21957,
"c": 0.0927,
"h": 299.7
},
"luminance": 0.00905
}Semantic roles & 50–950 ramp
primary
#220A3E
secondary
#557B28
accent
#EF399B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B