#220F2C#220F2C

#220F2C is a very dark, muted violet. Relative luminance 0.009; OKLCH L 21.2% C 0.060 H 312.6°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#220F2C
RGBrgb(34, 15, 44)
HSLhsl(279, 49%, 12%)
HSVhsv(279, 66%, 17%)
CMYKcmyk(22.7%, 65.9%, 0%, 82.7%)
CIE-LABlab(7.80, 16.53, -15.67)
CIE-LCHlch(7.80, 22.77, 316.53°)
OKLaboklab(21.21% 0.0403 -0.0438)
OKLCHoklch(21.21% 0.06 312.6)
XYZxyz(1.2851, 0.8636, 2.4814)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F2C #192C0F
analogous
#140F2C #220F2C #2C0F28
triadic
#220F2C #2C220F #0F2C22
tetradic
#220F2C #2C140F #192C0F #0F282C
square
#220F2C #2C140F #192C0F #0F282C
split-complementary
#220F2C #282C0F #0F2C14
monochromatic
#120817 #120817 #220F2C #451F5A #692E87

Accessibility & contrast

On white

17.91
#220F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F2C
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F2C#FFFFFF#000000##FFFFFF
##220F2C1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08162D
Deuteranopia (green-blind)
#0E182B
Tritanopia (blue-blind)
#21141B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220f2c;
/* rgb */ color: rgb(34, 15, 44);
/* oklch */ color: oklch(21.2% 0.060 312.6);
Tailwind
colors: {
  custom: {
    50: '#5e4e65',
    500: '#220f2c',
    950: '#000000',
  },
}
SCSS
$custom: #220f2c;
$custom-light: #5e4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#220f2c",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 44
  },
  "hsl": {
    "h": 279.31,
    "s": 49.153,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2121,
    "c": 0.05956,
    "h": 312.6
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#220F2C
secondary
#436531
accent
#D94F7F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #220F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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