#220F2F#220F2F

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

Color values

HEX#220F2F
RGBrgb(34, 15, 47)
HSLhsl(276, 52%, 12%)
HSVhsv(276, 68%, 18%)
CMYKcmyk(27.7%, 68.1%, 0%, 81.6%)
CIE-LABlab(8.01, 17.39, -17.56)
CIE-LCHlch(8.01, 24.71, 314.73°)
OKLaboklab(21.44% 0.0406 -0.0493)
OKLCHoklch(21.44% 0.064 309.4)
XYZxyz(1.3435, 0.8870, 2.7892)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F2F #1C2F0F
analogous
#120F2F #220F2F #2F0F2C
triadic
#220F2F #2F220F #0F2F22
tetradic
#220F2F #2F120F #1C2F0F #0F2C2F
square
#220F2F #2F120F #1C2F0F #0F2C2F
split-complementary
#220F2F #2C2F0F #0F2F12
monochromatic
#110717 #110717 #220F2F #441E5D #652D8C

Accessibility & contrast

On white

17.84
#220F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220F2F
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F2F#FFFFFF#000000##FFFFFF
##220F2F1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#0B182E
Tritanopia (blue-blind)
#20151D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220f2f;
/* rgb */ color: rgb(34, 15, 47);
/* oklch */ color: oklch(21.4% 0.064 309.4);
Tailwind
colors: {
  custom: {
    50: '#5e4e67',
    500: '#220f2f',
    950: '#000000',
  },
}
SCSS
$custom: #220f2f;
$custom-light: #5e4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#220f2f",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 275.625,
    "s": 51.613,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21436,
    "c": 0.06386,
    "h": 309.4
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#220F2F
secondary
#486931
accent
#DB4D87
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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