#220B27#220B27

#220B27 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.1% C 0.061 H 320.2°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#220B27
RGBrgb(34, 11, 39)
HSLhsl(289, 56%, 10%)
HSVhsv(289, 72%, 15%)
CMYKcmyk(12.8%, 71.8%, 0%, 84.7%)
CIE-LABlab(6.56, 17.40, -13.87)
CIE-LCHlch(6.56, 22.25, 321.45°)
OKLaboklab(20.12% 0.0468 -0.039)
OKLCHoklch(20.12% 0.061 320.2)
XYZxyz(1.1455, 0.7260, 1.9988)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220B27 #10270B
analogous
#140B27 #220B27 #270B1E
triadic
#220B27 #27220B #0B2722
tetradic
#220B27 #27140B #10270B #0B1E27
square
#220B27 #27140B #10270B #0B1E27
split-complementary
#220B27 #1E270B #0B2714
monochromatic
#150718 #150718 #220B27 #4C1857 #752686

Accessibility & contrast

On white

18.34
#220B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#220B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220B27
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220B27#FFFFFF#000000##FFFFFF
##220B271.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061328
Deuteranopia (green-blind)
#0D1526
Tritanopia (blue-blind)
#220F17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #220b27;
/* rgb */ color: rgb(34, 11, 39);
/* oklch */ color: oklch(20.1% 0.061 320.2);
Tailwind
colors: {
  custom: {
    50: '#5e4b61',
    500: '#220b27',
    950: '#000000',
  },
}
SCSS
$custom: #220b27;
$custom-light: #5e4b61;
$custom-dark: #000000;
JSON
{
  "hex": "#220b27",
  "rgb": {
    "r": 34,
    "g": 11,
    "b": 39
  },
  "hsl": {
    "h": 289.286,
    "s": 56,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20116,
    "c": 0.06093,
    "h": 320.2
  },
  "luminance": 0.00726
}

Semantic roles & 50–950 ramp

primary
#220B27
secondary
#35632B
accent
#DF4963
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #220B27

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

Preview Lab → · Contrast checker → · Palette generator →

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