#220D2D#220D2D

#220D2D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.065 H 312.4°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#220D2D
RGBrgb(34, 13, 45)
HSLhsl(279, 55%, 11%)
HSVhsv(279, 71%, 18%)
CMYKcmyk(24.4%, 71.1%, 0%, 82.4%)
CIE-LABlab(7.38, 18.08, -17.07)
CIE-LCHlch(7.38, 24.87, 316.64°)
OKLaboklab(20.92% 0.0438 -0.048)
OKLCHoklch(20.92% 0.065 312.4)
XYZxyz(1.2772, 0.8174, 2.5726)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D2D #182D0D
analogous
#120D2D #220D2D #2D0D28
triadic
#220D2D #2D220D #0D2D22
tetradic
#220D2D #2D120D #182D0D #0D282D
square
#220D2D #2D120D #182D0D #0D282D
split-complementary
#220D2D #282D0D #0D2D12
monochromatic
#120718 #120718 #220D2D #461B5C #6A288C

Accessibility & contrast

On white

18.05
#220D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#220D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D2D
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D2D#FFFFFF#000000##FFFFFF
##220D2D1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04152E
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#21131B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220d2d;
/* rgb */ color: rgb(34, 13, 45);
/* oklch */ color: oklch(20.9% 0.065 312.4);
Tailwind
colors: {
  custom: {
    50: '#5e4c66',
    500: '#220d2d',
    950: '#000000',
  },
}
SCSS
$custom: #220d2d;
$custom-light: #5e4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#220d2d",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 279.375,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20917,
    "c": 0.06498,
    "h": 312.4
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#220D2D
secondary
#42682E
accent
#DF497D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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