#220D4F#220D4F

#220D4F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.111 H 289.9°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#220D4F
RGBrgb(34, 13, 79)
HSLhsl(259, 72%, 18%)
HSVhsv(259, 84%, 31%)
CMYKcmyk(57%, 83.5%, 0%, 69%)
CIE-LABlab(10.50, 28.58, -36.33)
CIE-LCHlch(10.50, 46.22, 308.19°)
OKLaboklab(24.13% 0.0378 -0.1044)
OKLCHoklch(24.13% 0.111 289.9)
XYZxyz(2.2145, 1.1923, 7.5091)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D4F #3A4F0D
analogous
#0D194F #220D4F #430D4F
triadic
#220D4F #4F220D #0D4F22
tetradic
#220D4F #4F0D19 #3A4F0D #0D4F43
square
#220D4F #4F0D19 #3A4F0D #0D4F43
split-complementary
#220D4F #4F430D #194F0D
monochromatic
#0B041A #0B041A #220D4F #391684 #4F1EB8

Accessibility & contrast

On white

16.96
#220D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#220D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D4F
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D4F#FFFFFF#000000##FFFFFF
##220D4F1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#111F2D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220d4f;
/* rgb */ color: rgb(34, 13, 79);
/* oklch */ color: oklch(24.1% 0.111 289.9);
Tailwind
colors: {
  custom: {
    50: '#634e81',
    500: '#220d4f',
    950: '#000000',
  },
}
SCSS
$custom: #220d4f;
$custom-light: #634e81;
$custom-dark: #000000;
JSON
{
  "hex": "#220d4f",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 259.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24132,
    "c": 0.11104,
    "h": 289.9
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#220D4F
secondary
#6D8A2E
accent
#EE39B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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