#220C35#220C35

#220C35 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.078 H 305.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#220C35
RGBrgb(34, 12, 53)
HSLhsl(272, 63%, 13%)
HSVhsv(272, 77%, 21%)
CMYKcmyk(35.8%, 77.4%, 0%, 79.2%)
CIE-LABlab(7.77, 21.08, -22.35)
CIE-LCHlch(7.77, 30.73, 313.32°)
OKLaboklab(21.41% 0.045 -0.0634)
OKLCHoklch(21.41% 0.078 305.4)
XYZxyz(1.4336, 0.8601, 3.4580)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220C35 #1F350C
analogous
#0D0C35 #220C35 #350C33
triadic
#220C35 #35220C #0C3522
tetradic
#220C35 #350D0C #1F350C #0C3335
square
#220C35 #350D0C #1F350C #0C3335
split-complementary
#220C35 #33350C #0C350D
monochromatic
#100619 #100619 #220C35 #421767 #622399

Accessibility & contrast

On white

17.92
#220C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220C35
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220C35#FFFFFF#000000##FFFFFF
##220C351.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#031734
Tritanopia (blue-blind)
#1F151F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220c35;
/* rgb */ color: rgb(34, 12, 53);
/* oklch */ color: oklch(21.4% 0.078 305.4);
Tailwind
colors: {
  custom: {
    50: '#5f4c6c',
    500: '#220c35',
    950: '#000000',
  },
}
SCSS
$custom: #220c35;
$custom-light: #5f4c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#220c35",
  "rgb": {
    "r": 34,
    "g": 12,
    "b": 53
  },
  "hsl": {
    "h": 272.195,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21409,
    "c": 0.07775,
    "h": 305.4
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#220C35
secondary
#4C712C
accent
#E6428E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #220C35

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

Preview Lab → · Contrast checker → · Palette generator →

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