#220F2A#220F2A

#220F2A is a very dark, muted purple. Relative luminance 0.008; OKLCH L 21.1% C 0.057 H 315.0°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#220F2A
RGBrgb(34, 15, 42)
HSLhsl(282, 47%, 11%)
HSVhsv(282, 64%, 16%)
CMYKcmyk(19%, 64.3%, 0%, 83.5%)
CIE-LABlab(7.67, 15.95, -14.38)
CIE-LCHlch(7.67, 21.48, 317.96°)
OKLaboklab(21.07% 0.0401 -0.0401)
OKLCHoklch(21.07% 0.057 315)
XYZxyz(1.2484, 0.8489, 2.2881)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F2A #172A0F
analogous
#140F2A #220F2A #2A0F24
triadic
#220F2A #2A220F #0F2A22
tetradic
#220F2A #2A140F #172A0F #0F242A
square
#220F2A #2A140F #172A0F #0F242A
split-complementary
#220F2A #242A0F #0F2A14
monochromatic
#120817 #120817 #220F2A #471F57 #6B2F84

Accessibility & contrast

On white

17.95
#220F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F2A
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F2A#FFFFFF#000000##FFFFFF
##220F2A1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09162B
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#21131A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220f2a;
/* rgb */ color: rgb(34, 15, 42);
/* oklch */ color: oklch(21.1% 0.057 315.0);
Tailwind
colors: {
  custom: {
    50: '#5e4e63',
    500: '#220f2a',
    950: '#000000',
  },
}
SCSS
$custom: #220f2a;
$custom-light: #5e4e63;
$custom-dark: #000000;
JSON
{
  "hex": "#220f2a",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 282.222,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21066,
    "c": 0.05671,
    "h": 315
  },
  "luminance": 0.00849
}

Semantic roles & 50–950 ramp

primary
#220F2A
secondary
#406332
accent
#D75179
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #220F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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