#220C32#220C32

#220C32 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.074 H 307.9°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#220C32
RGBrgb(34, 12, 50)
HSLhsl(275, 61%, 12%)
HSVhsv(275, 76%, 20%)
CMYKcmyk(32%, 76%, 0%, 80.4%)
CIE-LABlab(7.53, 20.18, -20.54)
CIE-LCHlch(7.53, 28.80, 314.49°)
OKLaboklab(21.15% 0.0453 -0.0581)
OKLCHoklch(21.15% 0.074 307.9)
XYZxyz(1.3668, 0.8333, 3.1058)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C32 #1C320C
analogous
#0F0C32 #220C32 #320C2F
triadic
#220C32 #32220C #0C3222
tetradic
#220C32 #320F0C #1C320C #0C2F32
square
#220C32 #320F0C #1C320C #0C2F32
split-complementary
#220C32 #2F320C #0C320F
monochromatic
#110619 #110619 #220C32 #441863 #652495

Accessibility & contrast

On white

18.00
#220C32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C32
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C32#FFFFFF#000000##FFFFFF
##220C321.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#061731
Tritanopia (blue-blind)
#20141D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220c32;
/* rgb */ color: rgb(34, 12, 50);
/* oklch */ color: oklch(21.1% 0.074 307.9);
Tailwind
colors: {
  custom: {
    50: '#5f4c6a',
    500: '#220c32',
    950: '#000000',
  },
}
SCSS
$custom: #220c32;
$custom-light: #5f4c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#220c32",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 50
  },
  "hsl": {
    "h": 274.737,
    "s": 61.29,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2115,
    "c": 0.07368,
    "h": 307.9
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#220C32
secondary
#486E2C
accent
#E44387
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #220C32

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

Preview Lab → · Contrast checker → · Palette generator →

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