#220C4B#220C4B

#220C4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.107 H 291.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#220C4B
RGBrgb(34, 12, 75)
HSLhsl(261, 72%, 17%)
HSVhsv(261, 84%, 29%)
CMYKcmyk(54.7%, 84%, 0%, 70.6%)
CIE-LABlab(9.88, 27.86, -34.57)
CIE-LCHlch(9.88, 44.40, 308.86°)
OKLaboklab(23.57% 0.04 -0.0993)
OKLCHoklch(23.57% 0.107 291.9)
XYZxyz(2.0608, 1.1109, 6.7611)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C4B #354B0C
analogous
#0C164B #220C4B #420C4B
triadic
#220C4B #4B220C #0C4B22
tetradic
#220C4B #4B0C16 #354B0C #0C4B42
square
#220C4B #4B0C16 #354B0C #0C4B42
split-complementary
#220C4B #4B420C #164B0C
monochromatic
#0C041A #0C041A #220C4B #3A1480 #521DB5

Accessibility & contrast

On white

17.18
#220C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C4B
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C4B#FFFFFF#000000##FFFFFF
##220C4B1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#141D2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #220c4b;
/* rgb */ color: rgb(34, 12, 75);
/* oklch */ color: oklch(23.6% 0.107 291.9);
Tailwind
colors: {
  custom: {
    50: '#634d7e',
    500: '#220c4b',
    950: '#000000',
  },
}
SCSS
$custom: #220c4b;
$custom-light: #634d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#220c4b",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 260.952,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.23569,
    "c": 0.10701,
    "h": 291.9
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#220C4B
secondary
#67872C
accent
#EF39AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #220C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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