#22106F#22106F
#22106F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.149 H 279.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).
Color values
| HEX | #22106F |
|---|---|
| RGB | rgb(34, 16, 111) |
| HSL | hsl(251, 75%, 25%) |
| HSV | hsv(251, 86%, 44%) |
| CMYK | cmyk(69.4%, 85.6%, 0%, 56.5%) |
| CIE-LAB | lab(14.72, 37.23, -50.78) |
| CIE-LCH | lch(14.72, 62.96, 306.25°) |
| OKLab | oklab(28.17% 0.0249 -0.1466) |
| OKLCH | oklch(28.17% 0.149 279.6) |
| XYZ | xyz(3.7133, 1.8581, 15.1988) |
| Luminance | 0.0186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 2.64
Dark Royal Blue
#02066F
ΔE00 2.98
Deep Blue
#040273
ΔE00 3.35
Darkblue (survey)
#030764
ΔE00 3.37
Navy
#000080
ΔE00 4.25
Indigo (survey)
#380282
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22106F #5D6F10
analogous
#102E6F #22106F #51106F
triadic
#22106F #6F2210 #106F22
tetradic
#22106F #6F102E #5D6F10 #106F51
square
#22106F #6F102E #5D6F10 #106F51
split-complementary
#22106F #6F5110 #2E6F10
monochromatic
#08041B #12083A #22106F #3218A4 #431FDA
Accessibility & contrast
On white
15.31
#22106F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#22106F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22106F
15.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22106F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22106F | 1.00 | 15.31 | 1.37 | 15.31 |
| #FFFFFF | 15.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00216D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #22106f; /* rgb */ color: rgb(34, 16, 111); /* oklch */ color: oklch(28.2% 0.149 279.6);
Tailwind
colors: {
custom: {
50: '#6a5299',
500: '#22106f',
950: '#000000',
},
}SCSS
$custom: #22106f; $custom-light: #6a5299; $custom-dark: #000000;
JSON
{
"hex": "#22106f",
"rgb": {
"r": 34,
"g": 16,
"b": 111
},
"hsl": {
"h": 251.368,
"s": 74.803,
"l": 24.902
},
"oklch": {
"l": 0.28167,
"c": 0.14869,
"h": 279.6
},
"luminance": 0.01858
}Semantic roles & 50–950 ramp
primary
#22106F
secondary
#91A734
accent
#F136CE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E