#22105D#22105D

#22105D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.126 H 284.2°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#22105D
RGBrgb(34, 16, 93)
HSLhsl(254, 71%, 21%)
HSVhsv(254, 83%, 36%)
CMYKcmyk(63.4%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.61, 31.46, -42.37)
CIE-LCHlch(12.61, 52.77, 306.60°)
OKLaboklab(26.08% 0.0309 -0.1221)
OKLCHoklch(26.08% 0.126 284.2)
XYZxyz(2.8202, 1.5008, 10.4949)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105D #4B5D10
analogous
#10255D #22105D #49105D
triadic
#22105D #5D2210 #105D22
tetradic
#22105D #5D1025 #4B5D10 #105D49
square
#22105D #5D1025 #4B5D10 #105D49
split-complementary
#22105D #5D4910 #255D10
monochromatic
#0A041A #0F0729 #22105D #351991 #4822C5

Accessibility & contrast

On white

16.15
#22105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#22105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22105D
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105D#FFFFFF#000000##FFFFFF
##22105D1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001E5C
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22105d;
/* rgb */ color: rgb(34, 16, 93);
/* oklch */ color: oklch(26.1% 0.126 284.2);
Tailwind
colors: {
  custom: {
    50: '#66518c',
    500: '#22105d',
    950: '#000000',
  },
}
SCSS
$custom: #22105d;
$custom-light: #66518c;
$custom-dark: #000000;
JSON
{
  "hex": "#22105d",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 254.026,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26076,
    "c": 0.12594,
    "h": 284.2
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#22105D
secondary
#7F9633
accent
#ED3AC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105D

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

Preview Lab → · Contrast checker → · Palette generator →

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