#220C44#220C44

#220C44 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.098 H 295.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#220C44
RGBrgb(34, 12, 68)
HSLhsl(264, 70%, 16%)
HSVhsv(264, 82%, 27%)
CMYKcmyk(50%, 82.4%, 0%, 73.3%)
CIE-LABlab(9.16, 25.67, -30.86)
CIE-LCHlch(9.16, 40.14, 309.76°)
OKLaboklab(22.84% 0.0421 -0.0884)
OKLCHoklch(22.84% 0.098 295.5)
XYZxyz(1.8343, 1.0203, 5.5680)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C44 #2E440C
analogous
#0C1244 #220C44 #3E0C44
triadic
#220C44 #44220C #0C4422
tetradic
#220C44 #440C12 #2E440C #0C443E
square
#220C44 #440C12 #2E440C #0C443E
split-complementary
#220C44 #443E0C #12440C
monochromatic
#0D051A #0D051A #220C44 #3C1578 #561EAC

Accessibility & contrast

On white

17.44
#220C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#220C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220C44
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C44#FFFFFF#000000##FFFFFF
##220C441.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#191B27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #220c44;
/* rgb */ color: rgb(34, 12, 68);
/* oklch */ color: oklch(22.8% 0.098 295.5);
Tailwind
colors: {
  custom: {
    50: '#614d78',
    500: '#220c44',
    950: '#000000',
  },
}
SCSS
$custom: #220c44;
$custom-light: #614d78;
$custom-dark: #000000;
JSON
{
  "hex": "#220c44",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 263.571,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22838,
    "c": 0.09786,
    "h": 295.5
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#220C44
secondary
#5F802C
accent
#ED3BA7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #220C44

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

Preview Lab → · Contrast checker → · Palette generator →

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