#22103C#22103C

#22103C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.081 H 298.6°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#22103C
RGBrgb(34, 16, 60)
HSLhsl(265, 58%, 15%)
HSVhsv(265, 73%, 24%)
CMYKcmyk(43.3%, 73.3%, 0%, 76.5%)
CIE-LABlab(9.30, 20.71, -24.95)
CIE-LCHlch(9.30, 32.42, 309.69°)
OKLaboklab(22.7% 0.0386 -0.071)
OKLCHoklch(22.7% 0.081 298.6)
XYZxyz(1.6604, 1.0369, 4.3868)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103C #2A3C10
analogous
#10143C #22103C #38103C
triadic
#22103C #3C2210 #103C22
tetradic
#22103C #3C1014 #2A3C10 #103C38
square
#22103C #3C1014 #2A3C10 #103C38
split-complementary
#22103C #3C3810 #143C10
monochromatic
#0E0618 #0E0618 #22103C #3D1D6C #592A9D

Accessibility & contrast

On white

17.39
#22103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22103C
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103C#FFFFFF#000000##FFFFFF
##22103C1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22103c;
/* rgb */ color: rgb(34, 16, 60);
/* oklch */ color: oklch(22.7% 0.081 298.6);
Tailwind
colors: {
  custom: {
    50: '#604f72',
    500: '#22103c',
    950: '#000000',
  },
}
SCSS
$custom: #22103c;
$custom-light: #604f72;
$custom-dark: #000000;
JSON
{
  "hex": "#22103c",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 264.545,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22701,
    "c": 0.08086,
    "h": 298.6
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#22103C
secondary
#5A7632
accent
#E147A2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #22103C

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

Preview Lab → · Contrast checker → · Palette generator →

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