#220D3A#220D3A

#220D3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.083 H 301.2°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#220D3A
RGBrgb(34, 13, 58)
HSLhsl(268, 63%, 14%)
HSVhsv(268, 78%, 23%)
CMYKcmyk(41.4%, 77.6%, 0%, 77.3%)
CIE-LABlab(8.42, 21.98, -24.92)
CIE-LCHlch(8.42, 33.23, 311.41°)
OKLaboklab(22.02% 0.043 -0.0709)
OKLCHoklch(22.02% 0.083 301.2)
XYZxyz(1.5671, 0.9334, 4.0998)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D3A #253A0D
analogous
#0D0F3A #220D3A #390D3A
triadic
#220D3A #3A220D #0D3A22
tetradic
#220D3A #3A0D0F #253A0D #0D3A39
square
#220D3A #3A0D0F #253A0D #0D3A39
split-complementary
#220D3A #3A390D #0F3A0D
monochromatic
#0F0619 #0F0619 #220D3A #3F186C #5D239E

Accessibility & contrast

On white

17.70
#220D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D3A
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D3A#FFFFFF#000000##FFFFFF
##220D3A1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#1D1722
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220d3a;
/* rgb */ color: rgb(34, 13, 58);
/* oklch */ color: oklch(22.0% 0.083 301.2);
Tailwind
colors: {
  custom: {
    50: '#604d70',
    500: '#220d3a',
    950: '#000000',
  },
}
SCSS
$custom: #220d3a;
$custom-light: #604d70;
$custom-dark: #000000;
JSON
{
  "hex": "#220d3a",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 58
  },
  "hsl": {
    "h": 268,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22018,
    "c": 0.08295,
    "h": 301.2
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#220D3A
secondary
#54762D
accent
#E64199
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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