#22105E#22105E

#22105E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.127 H 283.9°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#22105E
RGBrgb(34, 16, 94)
HSLhsl(254, 71%, 22%)
HSVhsv(254, 83%, 37%)
CMYKcmyk(63.8%, 83%, 0%, 63.1%)
CIE-LABlab(12.73, 31.78, -42.85)
CIE-LCHlch(12.73, 53.35, 306.57°)
OKLaboklab(26.19% 0.0306 -0.1235)
OKLCHoklch(26.19% 0.127 283.9)
XYZxyz(2.8647, 1.5186, 10.7297)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105E #4C5E10
analogous
#10255E #22105E #49105E
triadic
#22105E #5E2210 #105E22
tetradic
#22105E #5E1025 #4C5E10 #105E49
square
#22105E #5E1025 #4C5E10 #105E49
split-complementary
#22105E #5E4910 #255E10
monochromatic
#09041A #0F072A #22105E #351992 #4822C7

Accessibility & contrast

On white

16.11
#22105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22105E
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105E#FFFFFF#000000##FFFFFF
##22105E1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22105e;
/* rgb */ color: rgb(34, 16, 94);
/* oklch */ color: oklch(26.2% 0.127 283.9);
Tailwind
colors: {
  custom: {
    50: '#66518d',
    500: '#22105e',
    950: '#000000',
  },
}
SCSS
$custom: #22105e;
$custom-light: #66518d;
$custom-dark: #000000;
JSON
{
  "hex": "#22105e",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 253.846,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26189,
    "c": 0.12724,
    "h": 283.9
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#22105E
secondary
#809733
accent
#EE3AC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105E

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

Preview Lab → · Contrast checker → · Palette generator →

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