#220C3A#220C3A

#220C3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.085 H 301.6°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#220C3A
RGBrgb(34, 12, 58)
HSLhsl(269, 66%, 14%)
HSVhsv(269, 79%, 23%)
CMYKcmyk(41.4%, 79.3%, 0%, 77.3%)
CIE-LABlab(8.20, 22.59, -25.28)
CIE-LCHlch(8.20, 33.90, 311.79°)
OKLaboklab(21.86% 0.0443 -0.072)
OKLCHoklch(21.86% 0.085 301.6)
XYZxyz(1.5547, 0.9085, 4.0956)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C3A #243A0C
analogous
#0C0D3A #220C3A #390C3A
triadic
#220C3A #3A220C #0C3A22
tetradic
#220C3A #3A0C0D #243A0C #0C3A39
square
#220C3A #3A0C0D #243A0C #0C3A39
split-complementary
#220C3A #3A390C #0D3A0C
monochromatic
#0F0519 #0F0519 #220C3A #40166D #5D219F

Accessibility & contrast

On white

17.77
#220C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220C3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C3A
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C3A#FFFFFF#000000##FFFFFF
##220C3A1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220c3a;
/* rgb */ color: rgb(34, 12, 58);
/* oklch */ color: oklch(21.9% 0.085 301.6);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#220c3a',
    950: '#000000',
  },
}
SCSS
$custom: #220c3a;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#220c3a",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 268.696,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21862,
    "c": 0.08452,
    "h": 301.6
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#220C3A
secondary
#53762C
accent
#E93F98
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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