#220D4A#220D4A

#220D4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.104 H 292.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#220D4A
RGBrgb(34, 13, 74)
HSLhsl(261, 70%, 17%)
HSVhsv(261, 82%, 29%)
CMYKcmyk(54.1%, 82.4%, 0%, 71%)
CIE-LABlab(9.97, 26.99, -33.73)
CIE-LCHlch(9.97, 43.20, 308.67°)
OKLaboklab(23.6% 0.0393 -0.0968)
OKLCHoklch(23.6% 0.104 292.1)
XYZxyz(2.0393, 1.1223, 6.5864)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D4A #354A0D
analogous
#0D164A #220D4A #410D4A
triadic
#220D4A #4A220D #0D4A22
tetradic
#220D4A #4A0D16 #354A0D #0D4A41
square
#220D4A #4A0D16 #354A0D #0D4A41
split-complementary
#220D4A #4A410D #164A0D
monochromatic
#0C051A #0C051A #220D4A #3A167E #521FB2

Accessibility & contrast

On white

17.15
#220D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D4A
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D4A#FFFFFF#000000##FFFFFF
##220D4A1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#151D2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220d4a;
/* rgb */ color: rgb(34, 13, 74);
/* oklch */ color: oklch(23.6% 0.104 292.1);
Tailwind
colors: {
  custom: {
    50: '#624e7d',
    500: '#220d4a',
    950: '#000000',
  },
}
SCSS
$custom: #220d4a;
$custom-light: #624e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220d4a",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 260.656,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23598,
    "c": 0.10449,
    "h": 292.1
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#220D4A
secondary
#67852E
accent
#ED3BB0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #220D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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