#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
RGBrgb(34, 16, 111)
HSLhsl(251, 75%, 25%)
HSVhsv(251, 86%, 44%)
CMYKcmyk(69.4%, 85.6%, 0%, 56.5%)
CIE-LABlab(14.72, 37.23, -50.78)
CIE-LCHlch(14.72, 62.96, 306.25°)
OKLaboklab(28.17% 0.0249 -0.1466)
OKLCHoklch(28.17% 0.149 279.6)
XYZxyz(3.7133, 1.8581, 15.1988)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##22106F1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.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

Preview Lab

Preview with #22106F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#22106F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva