#22103D#22103D

#22103D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.082 H 297.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#22103D
RGBrgb(34, 16, 61)
HSLhsl(264, 58%, 15%)
HSVhsv(264, 74%, 24%)
CMYKcmyk(44.3%, 73.8%, 0%, 76.1%)
CIE-LABlab(9.38, 21.02, -25.53)
CIE-LCHlch(9.38, 33.07, 309.48°)
OKLaboklab(22.79% 0.0385 -0.0727)
OKLCHoklch(22.79% 0.082 297.9)
XYZxyz(1.6871, 1.0476, 4.5273)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103D #2B3D10
analogous
#10143D #22103D #38103D
triadic
#22103D #3D2210 #103D22
tetradic
#22103D #3D1014 #2B3D10 #103D38
square
#22103D #3D1014 #2B3D10 #103D38
split-complementary
#22103D #3D3810 #143D10
monochromatic
#0E0618 #0E0618 #22103D #3D1D6D #58299E

Accessibility & contrast

On white

17.36
#22103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#22103D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22103D
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103D#FFFFFF#000000##FFFFFF
##22103D1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#1C1A24
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22103d;
/* rgb */ color: rgb(34, 16, 61);
/* oklch */ color: oklch(22.8% 0.082 297.9);
Tailwind
colors: {
  custom: {
    50: '#604f73',
    500: '#22103d',
    950: '#000000',
  },
}
SCSS
$custom: #22103d;
$custom-light: #604f73;
$custom-dark: #000000;
JSON
{
  "hex": "#22103d",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 264,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22791,
    "c": 0.08229,
    "h": 297.9
  },
  "luminance": 0.01048
}

Semantic roles & 50–950 ramp

primary
#22103D
secondary
#5B7732
accent
#E246A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22103D

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

Preview Lab → · Contrast checker → · Palette generator →

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