#22106D#22106D

#22106D is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.146 H 280.1°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#22106D
RGBrgb(34, 16, 109)
HSLhsl(252, 74%, 25%)
HSVhsv(252, 85%, 43%)
CMYKcmyk(68.8%, 85.3%, 0%, 57.3%)
CIE-LABlab(14.48, 36.60, -49.87)
CIE-LCHlch(14.48, 61.86, 306.27°)
OKLaboklab(27.93% 0.0255 -0.144)
OKLCHoklch(27.93% 0.146 280.1)
XYZxyz(3.6044, 1.8145, 14.6253)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22106D #5B6D10
analogous
#102D6D #22106D #51106D
triadic
#22106D #6D2210 #106D22
tetradic
#22106D #6D102D #5B6D10 #106D51
square
#22106D #6D102D #5B6D10 #106D51
split-complementary
#22106D #6D5110 #2D6D10
monochromatic
#08041B #110838 #22106D #3318A2 #4320D8

Accessibility & contrast

On white

15.41
#22106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22106D
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22106D#FFFFFF#000000##FFFFFF
##22106D1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22106d;
/* rgb */ color: rgb(34, 16, 109);
/* oklch */ color: oklch(27.9% 0.146 280.1);
Tailwind
colors: {
  custom: {
    50: '#6a5298',
    500: '#22106d',
    950: '#000000',
  },
}
SCSS
$custom: #22106d;
$custom-light: #6a5298;
$custom-dark: #000000;
JSON
{
  "hex": "#22106d",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 251.613,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27929,
    "c": 0.14622,
    "h": 280.1
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#22106D
secondary
#8FA534
accent
#F137CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #22106D

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

Preview Lab → · Contrast checker → · Palette generator →

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