#22103A#22103A

#22103A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.078 H 299.9°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#22103A
RGBrgb(34, 16, 58)
HSLhsl(266, 57%, 15%)
HSVhsv(266, 72%, 23%)
CMYKcmyk(41.4%, 72.4%, 0%, 77.3%)
CIE-LABlab(9.12, 20.07, -23.79)
CIE-LCHlch(9.12, 31.13, 310.16°)
OKLaboklab(22.52% 0.0388 -0.0676)
OKLCHoklch(22.52% 0.078 299.9)
XYZxyz(1.6085, 1.0161, 4.1136)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103A #283A10
analogous
#10133A #22103A #37103A
triadic
#22103A #3A2210 #103A22
tetradic
#22103A #3A1013 #283A10 #103A37
square
#22103A #3A1013 #283A10 #103A37
split-complementary
#22103A #3A3710 #133A10
monochromatic
#0E0718 #0E0718 #22103A #3E1D6A #5A2A9A

Accessibility & contrast

On white

17.45
#22103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#22103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22103A
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103A#FFFFFF#000000##FFFFFF
##22103A1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#1D1923
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22103a;
/* rgb */ color: rgb(34, 16, 58);
/* oklch */ color: oklch(22.5% 0.078 299.9);
Tailwind
colors: {
  custom: {
    50: '#5f4f70',
    500: '#22103a',
    950: '#000000',
  },
}
SCSS
$custom: #22103a;
$custom-light: #5f4f70;
$custom-dark: #000000;
JSON
{
  "hex": "#22103a",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 265.714,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22524,
    "c": 0.07797,
    "h": 299.9
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#22103A
secondary
#587432
accent
#E0489F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #22103A

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

Preview Lab → · Contrast checker → · Palette generator →

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