#22103B#22103B

#22103B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.079 H 299.2°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#22103B
RGBrgb(34, 16, 59)
HSLhsl(265, 57%, 15%)
HSVhsv(265, 73%, 23%)
CMYKcmyk(42.4%, 72.9%, 0%, 76.9%)
CIE-LABlab(9.21, 20.39, -24.37)
CIE-LCHlch(9.21, 31.78, 309.91°)
OKLaboklab(22.61% 0.0388 -0.0693)
OKLCHoklch(22.61% 0.079 299.2)
XYZxyz(1.6342, 1.0264, 4.2488)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103B #293B10
analogous
#10143B #22103B #38103B
triadic
#22103B #3B2210 #103B22
tetradic
#22103B #3B1014 #293B10 #103B38
square
#22103B #3B1014 #293B10 #103B38
split-complementary
#22103B #3B3810 #143B10
monochromatic
#0E0718 #0E0718 #22103B #3E1D6B #592A9B

Accessibility & contrast

On white

17.42
#22103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22103B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103B#FFFFFF#000000##FFFFFF
##22103B1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#011A3A
Tritanopia (blue-blind)
#1C1A23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22103b;
/* rgb */ color: rgb(34, 16, 59);
/* oklch */ color: oklch(22.6% 0.079 299.2);
Tailwind
colors: {
  custom: {
    50: '#604f71',
    500: '#22103b',
    950: '#000000',
  },
}
SCSS
$custom: #22103b;
$custom-light: #604f71;
$custom-dark: #000000;
JSON
{
  "hex": "#22103b",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 265.116,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22612,
    "c": 0.07942,
    "h": 299.2
  },
  "luminance": 0.01026
}

Semantic roles & 50–950 ramp

primary
#22103B
secondary
#597532
accent
#E147A0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #22103B

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

Preview Lab → · Contrast checker → · Palette generator →

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