#22105C#22105C

#22105C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.125 H 284.5°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#22105C
RGBrgb(34, 16, 92)
HSLhsl(254, 70%, 21%)
HSVhsv(254, 83%, 36%)
CMYKcmyk(63%, 82.6%, 0%, 63.9%)
CIE-LABlab(12.50, 31.14, -41.88)
CIE-LCHlch(12.50, 52.19, 306.63°)
OKLaboklab(25.96% 0.0312 -0.1207)
OKLCHoklch(25.96% 0.125 284.5)
XYZxyz(2.7762, 1.4832, 10.2631)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105C #4A5C10
analogous
#10245C #22105C #48105C
triadic
#22105C #5C2210 #105C22
tetradic
#22105C #5C1024 #4A5C10 #105C48
square
#22105C #5C1024 #4A5C10 #105C48
split-complementary
#22105C #5C4810 #245C10
monochromatic
#0A051A #0F0728 #22105C #351990 #4922C4

Accessibility & contrast

On white

16.20
#22105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22105C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105C#FFFFFF#000000##FFFFFF
##22105C1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#022635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22105c;
/* rgb */ color: rgb(34, 16, 92);
/* oklch */ color: oklch(26.0% 0.125 284.5);
Tailwind
colors: {
  custom: {
    50: '#66518b',
    500: '#22105c',
    950: '#000000',
  },
}
SCSS
$custom: #22105c;
$custom-light: #66518b;
$custom-dark: #000000;
JSON
{
  "hex": "#22105c",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 254.211,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25964,
    "c": 0.12465,
    "h": 284.5
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#22105C
secondary
#7E9533
accent
#ED3BC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105C

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

Preview Lab → · Contrast checker → · Palette generator →

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