#220C5F#220C5F
#220C5F is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.8% C 0.132 H 284.4°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).
Color values
| HEX | #220C5F |
|---|---|
| RGB | rgb(34, 12, 95) |
| HSL | hsl(256, 78%, 21%) |
| HSV | hsv(256, 87%, 37%) |
| CMYK | cmyk(64.2%, 87.4%, 0%, 62.7%) |
| CIE-LAB | lab(12.15, 34.11, -44.47) |
| CIE-LCH | lch(12.15, 56.05, 307.49°) |
| OKLab | oklab(25.82% 0.0328 -0.1282) |
| OKLCH | oklch(25.82% 0.132 284.4) |
| XYZ | xyz(2.8561, 1.4291, 10.9496) |
| Luminance | 0.0143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.97
Darkblue (survey)
#030764
ΔE00 3.32
Dark Blue
#00035B
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 4.17
Midnight Blue
#191970
ΔE00 4.31
Deep Blue
#040273
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#220C5F #495F0C
analogous
#0C1F5F #220C5F #4B0C5F
triadic
#220C5F #5F220C #0C5F22
tetradic
#220C5F #5F0C1F #495F0C #0C5F4B
square
#220C5F #5F0C1F #495F0C #0C5F4B
split-complementary
#220C5F #5F4B0C #1F5F0C
monochromatic
#0A031B #0F0529 #220C5F #351395 #491ACC
Accessibility & contrast
On white
16.33
#220C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.29
#220C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #220C5F
16.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##220C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##220C5F | 1.00 | 16.33 | 1.29 | 16.33 |
| #FFFFFF | 16.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002261
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#202020
Design tokens & code
CSS
--color: #220c5f; /* rgb */ color: rgb(34, 12, 95); /* oklch */ color: oklch(25.8% 0.132 284.4);
Tailwind
colors: {
custom: {
50: '#674f8d',
500: '#220c5f',
950: '#000000',
},
}SCSS
$custom: #220c5f; $custom-light: #674f8d; $custom-dark: #000000;
JSON
{
"hex": "#220c5f",
"rgb": {
"r": 34,
"g": 12,
"b": 95
},
"hsl": {
"h": 255.904,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.25824,
"c": 0.13233,
"h": 284.4
},
"luminance": 0.01429
}Semantic roles & 50–950 ramp
primary
#220C5F
secondary
#7D992D
accent
#F434C1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D