#22105A#22105A

#22105A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.122 H 285.1°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#22105A
RGBrgb(34, 16, 90)
HSLhsl(255, 70%, 21%)
HSVhsv(255, 82%, 35%)
CMYKcmyk(62.2%, 82.2%, 0%, 64.7%)
CIE-LABlab(12.28, 30.48, -40.90)
CIE-LCHlch(12.28, 51.01, 306.70°)
OKLaboklab(25.74% 0.0318 -0.1178)
OKLCHoklch(25.74% 0.122 285.1)
XYZxyz(2.6899, 1.4487, 9.8088)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105A #485A10
analogous
#10235A #22105A #47105A
triadic
#22105A #5A2210 #105A22
tetradic
#22105A #5A1023 #485A10 #105A47
square
#22105A #5A1023 #485A10 #105A47
split-complementary
#22105A #5A4710 #235A10
monochromatic
#0A051A #0E0726 #22105A #36198E #4922C2

Accessibility & contrast

On white

16.28
#22105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22105A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105A#FFFFFF#000000##FFFFFF
##22105A1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#052534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #22105a;
/* rgb */ color: rgb(34, 16, 90);
/* oklch */ color: oklch(25.7% 0.122 285.1);
Tailwind
colors: {
  custom: {
    50: '#655189',
    500: '#22105a',
    950: '#000000',
  },
}
SCSS
$custom: #22105a;
$custom-light: #655189;
$custom-dark: #000000;
JSON
{
  "hex": "#22105a",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 254.595,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25741,
    "c": 0.12204,
    "h": 285.1
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#22105A
secondary
#7C9333
accent
#ED3BC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105A

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

Preview Lab → · Contrast checker → · Palette generator →

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