#220D3B#220D3B

#220D3B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.084 H 300.5°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#220D3B
RGBrgb(34, 13, 59)
HSLhsl(267, 64%, 14%)
HSVhsv(267, 78%, 23%)
CMYKcmyk(42.4%, 78%, 0%, 76.9%)
CIE-LABlab(8.51, 22.29, -25.50)
CIE-LCHlch(8.51, 33.87, 311.16°)
OKLaboklab(22.11% 0.0428 -0.0726)
OKLCHoklch(22.11% 0.084 300.5)
XYZxyz(1.5928, 0.9437, 4.2351)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D3B #263B0D
analogous
#0D0F3B #220D3B #390D3B
triadic
#220D3B #3B220D #0D3B22
tetradic
#220D3B #3B0D0F #263B0D #0D3B39
square
#220D3B #3B0D0F #263B0D #0D3B39
split-complementary
#220D3B #3B390D #0F3B0D
monochromatic
#0E0619 #0E0619 #220D3B #3F186D #5C239F

Accessibility & contrast

On white

17.66
#220D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D3B
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D3B#FFFFFF#000000##FFFFFF
##220D3B1.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#1D1822
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220d3b;
/* rgb */ color: rgb(34, 13, 59);
/* oklch */ color: oklch(22.1% 0.084 300.5);
Tailwind
colors: {
  custom: {
    50: '#604d71',
    500: '#220d3b',
    950: '#000000',
  },
}
SCSS
$custom: #220d3b;
$custom-light: #604d71;
$custom-dark: #000000;
JSON
{
  "hex": "#220d3b",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 267.391,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22111,
    "c": 0.08431,
    "h": 300.5
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#220D3B
secondary
#55772D
accent
#E7419B
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #220D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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