#220D4C#220D4C

#220D4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.107 H 291.2°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#220D4C
RGBrgb(34, 13, 76)
HSLhsl(260, 71%, 17%)
HSVhsv(260, 83%, 30%)
CMYKcmyk(55.3%, 82.9%, 0%, 70.2%)
CIE-LABlab(10.18, 27.63, -34.78)
CIE-LCHlch(10.18, 44.42, 308.46°)
OKLaboklab(23.81% 0.0387 -0.0999)
OKLCHoklch(23.81% 0.107 291.2)
XYZxyz(2.1077, 1.1496, 6.9469)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D4C #374C0D
analogous
#0D174C #220D4C #420D4C
triadic
#220D4C #4C220D #0D4C22
tetradic
#220D4C #4C0D17 #374C0D #0D4C42
square
#220D4C #4C0D17 #374C0D #0D4C42
split-complementary
#220D4C #4C420D #174C0D
monochromatic
#0C041A #0C041A #220D4C #391680 #511FB5

Accessibility & contrast

On white

17.07
#220D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#220D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220D4C
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D4C#FFFFFF#000000##FFFFFF
##220D4C1.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#141E2C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #220d4c;
/* rgb */ color: rgb(34, 13, 76);
/* oklch */ color: oklch(23.8% 0.107 291.2);
Tailwind
colors: {
  custom: {
    50: '#634e7f',
    500: '#220d4c',
    950: '#000000',
  },
}
SCSS
$custom: #220d4c;
$custom-light: #634e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#220d4c",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 260,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2381,
    "c": 0.10712,
    "h": 291.2
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#220D4C
secondary
#69872E
accent
#EE3AB2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #220D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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