#22105F#22105F

#22105F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.129 H 283.6°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#22105F
RGBrgb(34, 16, 95)
HSLhsl(254, 71%, 22%)
HSVhsv(254, 83%, 37%)
CMYKcmyk(64.2%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.84, 32.11, -43.33)
CIE-LCHlch(12.84, 53.93, 306.54°)
OKLaboklab(26.3% 0.0302 -0.1249)
OKLCHoklch(26.3% 0.129 283.6)
XYZxyz(2.9099, 1.5367, 10.9675)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22105F #4D5F10
analogous
#10265F #22105F #4A105F
triadic
#22105F #5F2210 #105F22
tetradic
#22105F #5F1026 #4D5F10 #105F4A
square
#22105F #5F1026 #4D5F10 #105F4A
split-complementary
#22105F #5F4A10 #265F10
monochromatic
#09041A #0F072B #22105F #351993 #4722C8

Accessibility & contrast

On white

16.06
#22105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#22105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22105F
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22105F#FFFFFF#000000##FFFFFF
##22105F1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22105f;
/* rgb */ color: rgb(34, 16, 95);
/* oklch */ color: oklch(26.3% 0.129 283.6);
Tailwind
colors: {
  custom: {
    50: '#66518d',
    500: '#22105f',
    950: '#000000',
  },
}
SCSS
$custom: #22105f;
$custom-light: #66518d;
$custom-dark: #000000;
JSON
{
  "hex": "#22105f",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 253.671,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26302,
    "c": 0.12853,
    "h": 283.6
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#22105F
secondary
#819833
accent
#EE3AC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #22105F

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

Preview Lab → · Contrast checker → · Palette generator →

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