#220F29#220F29

#220F29 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 21.0% C 0.055 H 316.3°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#220F29
RGBrgb(34, 15, 41)
HSLhsl(284, 46%, 11%)
HSVhsv(284, 63%, 16%)
CMYKcmyk(17.1%, 63.4%, 0%, 83.9%)
CIE-LABlab(7.60, 15.67, -13.73)
CIE-LCHlch(7.60, 20.83, 318.76°)
OKLaboklab(21% 0.04 -0.0382)
OKLCHoklch(21% 0.055 316.3)
XYZxyz(1.2307, 0.8419, 2.1951)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F29 #16290F
analogous
#150F29 #220F29 #290F23
triadic
#220F29 #29220F #0F2922
tetradic
#220F29 #29150F #16290F #0F2329
square
#220F29 #29150F #16290F #0F2329
split-complementary
#220F29 #23290F #0F2915
monochromatic
#130816 #130816 #220F29 #471F56 #6C3083

Accessibility & contrast

On white

17.97
#220F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F29
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F29#FFFFFF#000000##FFFFFF
##220F291.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162A
Deuteranopia (green-blind)
#0F1728
Tritanopia (blue-blind)
#22131A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220f29;
/* rgb */ color: rgb(34, 15, 41);
/* oklch */ color: oklch(21.0% 0.055 316.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e63',
    500: '#220f29',
    950: '#000000',
  },
}
SCSS
$custom: #220f29;
$custom-light: #5e4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#220f29",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 283.846,
    "s": 46.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20996,
    "c": 0.0553,
    "h": 316.3
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#220F29
secondary
#3F6232
accent
#D65275
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #220F29

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

Preview Lab → · Contrast checker → · Palette generator →

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