#22106A#22106A

#22106A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.142 H 280.7°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#22106A
RGBrgb(34, 16, 106)
HSLhsl(252, 74%, 24%)
HSVhsv(252, 85%, 42%)
CMYKcmyk(67.9%, 84.9%, 0%, 58.4%)
CIE-LABlab(14.12, 35.64, -48.50)
CIE-LCHlch(14.12, 60.19, 306.31°)
OKLaboklab(27.57% 0.0266 -0.14)
OKLCHoklch(27.57% 0.142 280.7)
XYZxyz(3.4457, 1.7510, 13.7893)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22106A #586A10
analogous
#102B6A #22106A #4F106A
triadic
#22106A #6A2210 #106A22
tetradic
#22106A #6A102B #586A10 #106A4F
square
#22106A #6A102B #586A10 #106A4F
split-complementary
#22106A #6A4F10 #2B6A10
monochromatic
#09041B #110835 #22106A #33189F #4420D4

Accessibility & contrast

On white

15.55
#22106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#22106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22106A
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22106A#FFFFFF#000000##FFFFFF
##22106A1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22106a;
/* rgb */ color: rgb(34, 16, 106);
/* oklch */ color: oklch(27.6% 0.142 280.7);
Tailwind
colors: {
  custom: {
    50: '#695296',
    500: '#22106a',
    950: '#000000',
  },
}
SCSS
$custom: #22106a;
$custom-light: #695296;
$custom-dark: #000000;
JSON
{
  "hex": "#22106a",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 252,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27574,
    "c": 0.14249,
    "h": 280.7
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#22106A
secondary
#8CA234
accent
#F037CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #22106A

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

Preview Lab → · Contrast checker → · Palette generator →

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