#27022B#27022B

#27022B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.087 H 323.9°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#27022B
RGBrgb(39, 2, 43)
HSLhsl(294, 91%, 9%)
HSVhsv(294, 95%, 17%)
CMYKcmyk(9.3%, 95.3%, 0%, 83.1%)
CIE-LABlab(5.87, 25.16, -17.92)
CIE-LCHlch(5.87, 30.89, 324.53°)
OKLaboklab(19.82% 0.0702 -0.0512)
OKLCHoklch(19.82% 0.087 323.9)
XYZxyz(1.2944, 0.6493, 2.3422)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27022B #062B02
analogous
#13022B #27022B #2B021B
triadic
#27022B #2B2702 #022B27
tetradic
#27022B #2B1302 #062B02 #021B2B
square
#27022B #2B1302 #062B02 #021B2B
split-complementary
#27022B #1B2B02 #022B13
monochromatic
#1B011D #1B011D #27022B #5C0565 #9107A0

Accessibility & contrast

On white

18.59
#27022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#27022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27022B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27022B#FFFFFF#000000##FFFFFF
##27022B1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#280816
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27022b;
/* rgb */ color: rgb(39, 2, 43);
/* oklch */ color: oklch(19.8% 0.087 323.9);
Tailwind
colors: {
  custom: {
    50: '#634764',
    500: '#27022b',
    950: '#000000',
  },
}
SCSS
$custom: #27022b;
$custom-light: #634764;
$custom-dark: #000000;
JSON
{
  "hex": "#27022b",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 294.146,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19819,
    "c": 0.08688,
    "h": 323.9
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#27022B
secondary
#217019
accent
#FF293E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050005
muted
#7A777A

Preview Lab

Preview with #27022B

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

Preview Lab → · Contrast checker → · Palette generator →

#27022B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva