#220D42#220D42

#220D42 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.094 H 296.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#220D42
RGBrgb(34, 13, 66)
HSLhsl(264, 67%, 15%)
HSVhsv(264, 80%, 26%)
CMYKcmyk(48.5%, 80.3%, 0%, 74.1%)
CIE-LABlab(9.17, 24.47, -29.43)
CIE-LCHlch(9.17, 38.27, 309.74°)
OKLaboklab(22.78% 0.0415 -0.0842)
OKLCHoklch(22.78% 0.094 296.2)
XYZxyz(1.7867, 1.0212, 5.2562)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D42 #2D420D
analogous
#0D1242 #220D42 #3C0D42
triadic
#220D42 #42220D #0D4222
tetradic
#220D42 #420D12 #2D420D #0D423C
square
#220D42 #420D12 #2D420D #0D423C
split-complementary
#220D42 #423C0D #12420D
monochromatic
#0D051A #0D051A #220D42 #3C1775 #5721A8

Accessibility & contrast

On white

17.44
#220D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D42
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D42#FFFFFF#000000##FFFFFF
##220D421.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A44
Deuteranopia (green-blind)
#001941
Tritanopia (blue-blind)
#1A1A26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220d42;
/* rgb */ color: rgb(34, 13, 66);
/* oklch */ color: oklch(22.8% 0.094 296.2);
Tailwind
colors: {
  custom: {
    50: '#614d77',
    500: '#220d42',
    950: '#000000',
  },
}
SCSS
$custom: #220d42;
$custom-light: #614d77;
$custom-dark: #000000;
JSON
{
  "hex": "#220d42",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 263.774,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22782,
    "c": 0.09383,
    "h": 296.2
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#220D42
secondary
#5E7E2D
accent
#EA3EA6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220D42

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

Preview Lab → · Contrast checker → · Palette generator →

#220D42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva