#220C36#220C36

#220C36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.079 H 304.6°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#220C36
RGBrgb(34, 12, 54)
HSLhsl(271, 64%, 13%)
HSVhsv(271, 78%, 21%)
CMYKcmyk(37%, 77.8%, 0%, 78.8%)
CIE-LABlab(7.85, 21.39, -22.95)
CIE-LCHlch(7.85, 31.37, 312.98°)
OKLaboklab(21.5% 0.0449 -0.0651)
OKLCHoklch(21.5% 0.079 304.6)
XYZxyz(1.4569, 0.8694, 3.5804)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C36 #20360C
analogous
#0D0C36 #220C36 #360C35
triadic
#220C36 #36220C #0C3622
tetradic
#220C36 #360D0C #20360C #0C3536
square
#220C36 #360D0C #20360C #0C3536
split-complementary
#220C36 #35360C #0C360D
monochromatic
#100619 #100619 #220C36 #421768 #61229A

Accessibility & contrast

On white

17.89
#220C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#220C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C36
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C36#FFFFFF#000000##FFFFFF
##220C361.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#021735
Tritanopia (blue-blind)
#1E151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220c36;
/* rgb */ color: rgb(34, 12, 54);
/* oklch */ color: oklch(21.5% 0.079 304.6);
Tailwind
colors: {
  custom: {
    50: '#5f4c6d',
    500: '#220c36',
    950: '#000000',
  },
}
SCSS
$custom: #220c36;
$custom-light: #5f4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#220c36",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 271.429,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21497,
    "c": 0.07911,
    "h": 304.6
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#220C36
secondary
#4D722C
accent
#E74190
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220C36

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

Preview Lab → · Contrast checker → · Palette generator →

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