#220D2E#220D2E

#220D2E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.066 H 311.4°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#220D2E
RGBrgb(34, 13, 46)
HSLhsl(278, 56%, 12%)
HSVhsv(278, 72%, 18%)
CMYKcmyk(26.1%, 71.7%, 0%, 82%)
CIE-LABlab(7.45, 18.38, -17.70)
CIE-LCHlch(7.45, 25.52, 316.07°)
OKLaboklab(20.99% 0.0438 -0.0498)
OKLCHoklch(20.99% 0.066 311.4)
XYZxyz(1.2967, 0.8252, 2.6752)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D2E #192E0D
analogous
#120D2E #220D2E #2E0D2A
triadic
#220D2E #2E220D #0D2E22
tetradic
#220D2E #2E120D #192E0D #0D2A2E
square
#220D2E #2E120D #192E0D #0D2A2E
split-complementary
#220D2E #2A2E0D #0D2E12
monochromatic
#120718 #120718 #220D2E #451A5E #69288D

Accessibility & contrast

On white

18.03
#220D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D2E
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D2E#FFFFFF#000000##FFFFFF
##220D2E1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220d2e;
/* rgb */ color: rgb(34, 13, 46);
/* oklch */ color: oklch(21.0% 0.066 311.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d67',
    500: '#220d2e',
    950: '#000000',
  },
}
SCSS
$custom: #220d2e;
$custom-light: #5e4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#220d2e",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 278.182,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.06635,
    "h": 311.4
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#220D2E
secondary
#43692E
accent
#DF497F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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