#220D2F#220D2F

#220D2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.068 H 310.4°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#220D2F
RGBrgb(34, 13, 47)
HSLhsl(277, 57%, 12%)
HSVhsv(277, 72%, 18%)
CMYKcmyk(27.7%, 72.3%, 0%, 81.6%)
CIE-LABlab(7.53, 18.68, -18.33)
CIE-LCHlch(7.53, 26.17, 315.53°)
OKLaboklab(21.07% 0.0439 -0.0516)
OKLCHoklch(21.07% 0.068 310.4)
XYZxyz(1.3166, 0.8332, 2.7802)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D2F #1A2F0D
analogous
#110D2F #220D2F #2F0D2B
triadic
#220D2F #2F220D #0D2F22
tetradic
#220D2F #2F110D #1A2F0D #0D2B2F
square
#220D2F #2F110D #1A2F0D #0D2B2F
split-complementary
#220D2F #2B2F0D #0D2F11
monochromatic
#110718 #110718 #220D2F #451A5F #67288F

Accessibility & contrast

On white

18.00
#220D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D2F
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D2F#FFFFFF#000000##FFFFFF
##220D2F1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031630
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#20131C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220d2f;
/* rgb */ color: rgb(34, 13, 47);
/* oklch */ color: oklch(21.1% 0.068 310.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d68',
    500: '#220d2f',
    950: '#000000',
  },
}
SCSS
$custom: #220d2f;
$custom-light: #5e4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#220d2f",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 277.059,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21074,
    "c": 0.06774,
    "h": 310.4
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#220D2F
secondary
#456A2E
accent
#E04882
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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