#220C4A#220C4A

#220C4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.106 H 292.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#220C4A
RGBrgb(34, 12, 74)
HSLhsl(261, 72%, 17%)
HSVhsv(261, 84%, 29%)
CMYKcmyk(54.1%, 83.8%, 0%, 71%)
CIE-LABlab(9.78, 27.54, -34.05)
CIE-LCHlch(9.78, 43.79, 308.97°)
OKLaboklab(23.46% 0.0403 -0.0977)
OKLCHoklch(23.46% 0.106 292.4)
XYZxyz(2.0268, 1.0974, 6.5823)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C4A #344A0C
analogous
#0C154A #220C4A #410C4A
triadic
#220C4A #4A220C #0C4A22
tetradic
#220C4A #4A0C15 #344A0C #0C4A41
square
#220C4A #4A0C15 #344A0C #0C4A41
split-complementary
#220C4A #4A410C #154A0C
monochromatic
#0C041A #0C041A #220C4A #3A157F #521DB3

Accessibility & contrast

On white

17.22
#220C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#220C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C4A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C4A#FFFFFF#000000##FFFFFF
##220C4A1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#151D2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220c4a;
/* rgb */ color: rgb(34, 12, 74);
/* oklch */ color: oklch(23.5% 0.106 292.4);
Tailwind
colors: {
  custom: {
    50: '#624d7d',
    500: '#220c4a',
    950: '#000000',
  },
}
SCSS
$custom: #220c4a;
$custom-light: #624d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#220c4a",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 261.29,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23462,
    "c": 0.10571,
    "h": 292.4
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#220C4A
secondary
#66862C
accent
#EF39AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #220C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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