#22105B#22105B

#22105B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.123 H 284.8°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#22105B
RGBrgb(34, 16, 91)
HSLhsl(254, 70%, 21%)
HSVhsv(254, 82%, 36%)
CMYKcmyk(62.6%, 82.4%, 0%, 64.3%)
CIE-LABlab(12.39, 30.81, -41.39)
CIE-LCHlch(12.39, 51.60, 306.66°)
OKLaboklab(25.85% 0.0315 -0.1192)
OKLCHoklch(25.85% 0.123 284.8)
XYZxyz(2.7327, 1.4658, 10.0344)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105B #495B10
analogous
#10235B #22105B #47105B
triadic
#22105B #5B2210 #105B22
tetradic
#22105B #5B1023 #495B10 #105B47
square
#22105B #5B1023 #495B10 #105B47
split-complementary
#22105B #5B4710 #235B10
monochromatic
#0A051A #0F0727 #22105B #35198F #4922C3

Accessibility & contrast

On white

16.24
#22105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#22105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22105B
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105B#FFFFFF#000000##FFFFFF
##22105B1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#032635
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22105b;
/* rgb */ color: rgb(34, 16, 91);
/* oklch */ color: oklch(25.9% 0.123 284.8);
Tailwind
colors: {
  custom: {
    50: '#65518a',
    500: '#22105b',
    950: '#000000',
  },
}
SCSS
$custom: #22105b;
$custom-light: #65518a;
$custom-dark: #000000;
JSON
{
  "hex": "#22105b",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 254.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25852,
    "c": 0.12334,
    "h": 284.8
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#22105B
secondary
#7D9433
accent
#ED3BC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105B

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

Preview Lab → · Contrast checker → · Palette generator →

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