#22103E#22103E

#22103E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.084 H 297.3°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#22103E
RGBrgb(34, 16, 62)
HSLhsl(263, 59%, 15%)
HSVhsv(263, 74%, 24%)
CMYKcmyk(45.2%, 74.2%, 0%, 75.7%)
CIE-LABlab(9.47, 21.35, -26.10)
CIE-LCHlch(9.47, 33.72, 309.28°)
OKLaboklab(22.88% 0.0384 -0.0744)
OKLCHoklch(22.88% 0.084 297.3)
XYZxyz(1.7143, 1.0584, 4.6705)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103E #2C3E10
analogous
#10153E #22103E #39103E
triadic
#22103E #3E2210 #103E22
tetradic
#22103E #3E1015 #2C3E10 #103E39
square
#22103E #3E1015 #2C3E10 #103E39
split-complementary
#22103E #3E3910 #153E10
monochromatic
#0D0618 #0D0618 #22103E #3D1D6F #57299F

Accessibility & contrast

On white

17.33
#22103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22103E
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103E#FFFFFF#000000##FFFFFF
##22103E1.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#1B1B25
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #22103e;
/* rgb */ color: rgb(34, 16, 62);
/* oklch */ color: oklch(22.9% 0.084 297.3);
Tailwind
colors: {
  custom: {
    50: '#604f74',
    500: '#22103e',
    950: '#000000',
  },
}
SCSS
$custom: #22103e;
$custom-light: #604f74;
$custom-dark: #000000;
JSON
{
  "hex": "#22103e",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 263.478,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22882,
    "c": 0.08373,
    "h": 297.3
  },
  "luminance": 0.01058
}

Semantic roles & 50–950 ramp

primary
#22103E
secondary
#5D7832
accent
#E246A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22103E

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

Preview Lab → · Contrast checker → · Palette generator →

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