#220727#220727

#220727 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.069 H 321.1°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#220727
RGBrgb(34, 7, 39)
HSLhsl(291, 70%, 9%)
HSVhsv(291, 82%, 15%)
CMYKcmyk(12.8%, 82.1%, 0%, 84.7%)
CIE-LABlab(5.77, 19.33, -15.10)
CIE-LCHlch(5.77, 24.53, 322.00°)
OKLaboklab(19.43% 0.0537 -0.0433)
OKLCHoklch(19.43% 0.069 321.1)
XYZxyz(1.1018, 0.6386, 1.9843)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220727 #0C2707
analogous
#120727 #220727 #27071C
triadic
#220727 #272207 #072722
tetradic
#220727 #271207 #0C2707 #071C27
square
#220727 #271207 #0C2707 #071C27
split-complementary
#220727 #1C2707 #072712
monochromatic
#17051A #17051A #220727 #4F105B #7C1A8F

Accessibility & contrast

On white

18.62
#220727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#220727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220727
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220727#FFFFFF#000000##FFFFFF
##2207271.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021128
Deuteranopia (green-blind)
#0A1426
Tritanopia (blue-blind)
#220C15
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #220727;
/* rgb */ color: rgb(34, 7, 39);
/* oklch */ color: oklch(19.4% 0.069 321.1);
Tailwind
colors: {
  custom: {
    50: '#5e4961',
    500: '#220727',
    950: '#000000',
  },
}
SCSS
$custom: #220727;
$custom-light: #5e4961;
$custom-dark: #000000;
JSON
{
  "hex": "#220727",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 290.625,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.19433,
    "c": 0.06902,
    "h": 321.1
  },
  "luminance": 0.00639
}

Semantic roles & 50–950 ramp

primary
#220727
secondary
#2E6623
accent
#EC3B57
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #220727

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

Preview Lab → · Contrast checker → · Palette generator →

#220727 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva