#220F27#220F27

#220F27 is a very dark, muted purple. Relative luminance 0.008; OKLCH L 20.9% C 0.053 H 319.0°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#220F27
RGBrgb(34, 15, 39)
HSLhsl(288, 44%, 11%)
HSVhsv(288, 62%, 15%)
CMYKcmyk(12.8%, 61.5%, 0%, 84.7%)
CIE-LABlab(7.48, 15.10, -12.42)
CIE-LCHlch(7.48, 19.56, 320.56°)
OKLaboklab(20.86% 0.0396 -0.0344)
OKLCHoklch(20.86% 0.053 319)
XYZxyz(1.1967, 0.8283, 2.0159)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220F27 #14270F
analogous
#160F27 #220F27 #270F20
triadic
#220F27 #27220F #0F2722
tetradic
#220F27 #27160F #14270F #0F2027
square
#220F27 #27160F #14270F #0F2027
split-complementary
#220F27 #20270F #0F2716
monochromatic
#130916 #130916 #220F27 #492053 #6F317F

Accessibility & contrast

On white

18.02
#220F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220F27
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220F27#FFFFFF#000000##FFFFFF
##220F271.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1528
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#221219
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #220f27;
/* rgb */ color: rgb(34, 15, 39);
/* oklch */ color: oklch(20.9% 0.053 319.0);
Tailwind
colors: {
  custom: {
    50: '#5e4e61',
    500: '#220f27',
    950: '#000000',
  },
}
SCSS
$custom: #220f27;
$custom-light: #5e4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#220f27",
  "rgb": {
    "r": 34,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 287.5,
    "s": 44.444,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2086,
    "c": 0.05251,
    "h": 319
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#220F27
secondary
#3C6032
accent
#D4546E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #220F27

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

Preview Lab → · Contrast checker → · Palette generator →

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