#22103F#22103F

#22103F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.085 H 296.7°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#22103F
RGBrgb(34, 16, 63)
HSLhsl(263, 59%, 15%)
HSVhsv(263, 75%, 25%)
CMYKcmyk(46%, 74.6%, 0%, 75.3%)
CIE-LABlab(9.56, 21.66, -26.67)
CIE-LCHlch(9.56, 34.36, 309.09°)
OKLaboklab(22.97% 0.0383 -0.0761)
OKLCHoklch(22.97% 0.085 296.7)
XYZxyz(1.7419, 1.0695, 4.8163)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22103F #2D3F10
analogous
#10153F #22103F #39103F
triadic
#22103F #3F2210 #103F22
tetradic
#22103F #3F1015 #2D3F10 #103F39
square
#22103F #3F1015 #2D3F10 #103F39
split-complementary
#22103F #3F3910 #153F10
monochromatic
#0D0618 #0D0618 #22103F #3C1C70 #5729A1

Accessibility & contrast

On white

17.30
#22103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22103F
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22103F#FFFFFF#000000##FFFFFF
##22103F1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#1B1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22103f;
/* rgb */ color: rgb(34, 16, 63);
/* oklch */ color: oklch(23.0% 0.085 296.7);
Tailwind
colors: {
  custom: {
    50: '#604f74',
    500: '#22103f',
    950: '#000000',
  },
}
SCSS
$custom: #22103f;
$custom-light: #604f74;
$custom-dark: #000000;
JSON
{
  "hex": "#22103f",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 262.979,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22974,
    "c": 0.08516,
    "h": 296.7
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#22103F
secondary
#5E7932
accent
#E345A6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #22103F

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

Preview Lab → · Contrast checker → · Palette generator →

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