#220F2D#220F2D

#220F2D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.3% C 0.061 H 311.5°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#220F2D
RGBrgb(34, 15, 45)
HSLhsl(278, 50%, 12%)
HSVhsv(278, 67%, 18%)
CMYKcmyk(24.4%, 66.7%, 0%, 82.4%)
CIE-LABlab(7.87, 16.81, -16.30)
CIE-LCHlch(7.87, 23.42, 315.89°)
OKLaboklab(21.28% 0.0404 -0.0457)
OKLCHoklch(21.28% 0.061 311.5)
XYZxyz(1.3041, 0.8712, 2.5816)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F2D #1A2D0F
analogous
#130F2D #220F2D #2D0F29
triadic
#220F2D #2D220F #0F2D22
tetradic
#220F2D #2D130F #1A2D0F #0F292D
square
#220F2D #2D130F #1A2D0F #0F292D
split-complementary
#220F2D #292D0F #0F2D13
monochromatic
#110817 #110817 #220F2D #451E5B #672E89

Accessibility & contrast

On white

17.88
#220F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F2D
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F2D#FFFFFF#000000##FFFFFF
##220F2D1.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07162E
Deuteranopia (green-blind)
#0D182C
Tritanopia (blue-blind)
#21141C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #220f2d;
/* rgb */ color: rgb(34, 15, 45);
/* oklch */ color: oklch(21.3% 0.061 311.5);
Tailwind
colors: {
  custom: {
    50: '#5e4e66',
    500: '#220f2d',
    950: '#000000',
  },
}
SCSS
$custom: #220f2d;
$custom-light: #5e4e66;
$custom-dark: #000000;
JSON
{
  "hex": "#220f2d",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 278,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21284,
    "c": 0.06099,
    "h": 311.5
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#220F2D
secondary
#456631
accent
#DA4E81
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #220F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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