#220D3C#220D3C

#220D3C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.086 H 299.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#220D3C
RGBrgb(34, 13, 60)
HSLhsl(267, 64%, 14%)
HSVhsv(267, 78%, 24%)
CMYKcmyk(43.3%, 78.3%, 0%, 76.5%)
CIE-LABlab(8.60, 22.60, -26.07)
CIE-LCHlch(8.60, 34.50, 310.92°)
OKLaboklab(22.2% 0.0427 -0.0743)
OKLCHoklch(22.2% 0.086 299.9)
XYZxyz(1.6190, 0.9542, 4.3730)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220D3C #273C0D
analogous
#0D0F3C #220D3C #3A0D3C
triadic
#220D3C #3C220D #0D3C22
tetradic
#220D3C #3C0D0F #273C0D #0D3C3A
square
#220D3C #3C0D0F #273C0D #0D3C3A
split-complementary
#220D3C #3C3A0D #0F3C0D
monochromatic
#0E0519 #0E0519 #220D3C #3F186E #5B23A1

Accessibility & contrast

On white

17.64
#220D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220D3C
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220D3C#FFFFFF#000000##FFFFFF
##220D3C1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#1C1823
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #220d3c;
/* rgb */ color: rgb(34, 13, 60);
/* oklch */ color: oklch(22.2% 0.086 299.9);
Tailwind
colors: {
  custom: {
    50: '#604d72',
    500: '#220d3c',
    950: '#000000',
  },
}
SCSS
$custom: #220d3c;
$custom-light: #604d72;
$custom-dark: #000000;
JSON
{
  "hex": "#220d3c",
  "rgb": {
    "r": 34,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 266.809,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22204,
    "c": 0.08569,
    "h": 299.9
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#220D3C
secondary
#56782D
accent
#E7409D
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #220D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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