#220D36#220D36

#220D36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.077 H 304.2°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#220D36
RGBrgb(34, 13, 54)
HSLhsl(271, 61%, 13%)
HSVhsv(271, 76%, 21%)
CMYKcmyk(37%, 75.9%, 0%, 78.8%)
CIE-LABlab(8.08, 20.77, -22.59)
CIE-LCHlch(8.08, 30.68, 312.60°)
OKLaboklab(21.66% 0.0435 -0.0641)
OKLCHoklch(21.66% 0.077 304.2)
XYZxyz(1.4693, 0.8943, 3.5845)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D36 #21360D
analogous
#0D0D36 #220D36 #360D35
triadic
#220D36 #36220D #0D3622
tetradic
#220D36 #360D0D #21360D #0D3536
square
#220D36 #360D0D #21360D #0D3536
split-complementary
#220D36 #35360D #0D360D
monochromatic
#100619 #100619 #220D36 #411967 #602599

Accessibility & contrast

On white

17.81
#220D36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D36
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D36#FFFFFF#000000##FFFFFF
##220D361.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#031835
Tritanopia (blue-blind)
#1E161F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220d36;
/* rgb */ color: rgb(34, 13, 54);
/* oklch */ color: oklch(21.7% 0.077 304.2);
Tailwind
colors: {
  custom: {
    50: '#5f4d6d',
    500: '#220d36',
    950: '#000000',
  },
}
SCSS
$custom: #220d36;
$custom-light: #5f4d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220d36",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 54
  },
  "hsl": {
    "h": 270.732,
    "s": 61.194,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2166,
    "c": 0.07743,
    "h": 304.2
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#220D36
secondary
#4F712D
accent
#E44392
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220D36

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

Preview Lab → · Contrast checker → · Palette generator →

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