#220C39#220C39

#220C39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.083 H 302.3°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#220C39
RGBrgb(34, 12, 57)
HSLhsl(269, 65%, 14%)
HSVhsv(269, 79%, 22%)
CMYKcmyk(40.4%, 78.9%, 0%, 77.6%)
CIE-LABlab(8.11, 22.29, -24.70)
CIE-LCHlch(8.11, 33.27, 312.06°)
OKLaboklab(21.77% 0.0445 -0.0703)
OKLCHoklch(21.77% 0.083 302.3)
XYZxyz(1.5295, 0.8984, 3.9629)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C39 #23390C
analogous
#0C0D39 #220C39 #380C39
triadic
#220C39 #39220C #0C3922
tetradic
#220C39 #390C0D #23390C #0C3938
square
#220C39 #390C0D #23390C #0C3938
split-complementary
#220C39 #39380C #0D390C
monochromatic
#0F0519 #0F0519 #220C39 #40176C #5E219E

Accessibility & contrast

On white

17.80
#220C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C39
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C39#FFFFFF#000000##FFFFFF
##220C391.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#1D1621
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220c39;
/* rgb */ color: rgb(34, 12, 57);
/* oklch */ color: oklch(21.8% 0.083 302.3);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#220c39',
    950: '#000000',
  },
}
SCSS
$custom: #220c39;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#220c39",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 269.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21769,
    "c": 0.08317,
    "h": 302.3
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#220C39
secondary
#51752C
accent
#E84096
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #220C39

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

Preview Lab → · Contrast checker → · Palette generator →

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