#220D39#220D39

#220D39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.082 H 301.9°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#220D39
RGBrgb(34, 13, 57)
HSLhsl(269, 63%, 14%)
HSVhsv(269, 77%, 22%)
CMYKcmyk(40.4%, 77.2%, 0%, 77.6%)
CIE-LABlab(8.34, 21.68, -24.35)
CIE-LCHlch(8.34, 32.60, 311.69°)
OKLaboklab(21.93% 0.0432 -0.0692)
OKLCHoklch(21.93% 0.082 301.9)
XYZxyz(1.5420, 0.9233, 3.9671)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D39 #24390D
analogous
#0D0E39 #220D39 #380D39
triadic
#220D39 #39220D #0D3922
tetradic
#220D39 #390D0E #24390D #0D3938
square
#220D39 #390D0E #24390D #0D3938
split-complementary
#220D39 #39380D #0E390D
monochromatic
#0F0619 #0F0619 #220D39 #40186B #5D249D

Accessibility & contrast

On white

17.73
#220D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D39
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D39#FFFFFF#000000##FFFFFF
##220D391.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#1D1721
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220d39;
/* rgb */ color: rgb(34, 13, 57);
/* oklch */ color: oklch(21.9% 0.082 301.9);
Tailwind
colors: {
  custom: {
    50: '#604d70',
    500: '#220d39',
    950: '#000000',
  },
}
SCSS
$custom: #220d39;
$custom-light: #604d70;
$custom-dark: #000000;
JSON
{
  "hex": "#220d39",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 268.636,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21927,
    "c": 0.08158,
    "h": 301.9
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#220D39
secondary
#53742D
accent
#E64298
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220D39

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

Preview Lab → · Contrast checker → · Palette generator →

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