#27022D#27022D

#27022D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.089 H 321.9°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#27022D
RGBrgb(39, 2, 45)
HSLhsl(292, 91%, 9%)
HSVhsv(292, 96%, 18%)
CMYKcmyk(13.3%, 95.6%, 0%, 82.4%)
CIE-LABlab(6.00, 25.72, -19.22)
CIE-LCHlch(6.00, 32.10, 323.23°)
OKLaboklab(19.99% 0.0698 -0.0548)
OKLCHoklch(19.99% 0.089 321.9)
XYZxyz(1.3320, 0.6643, 2.5402)
Luminance0.0066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27022D #082D02
analogous
#12022D #27022D #2D021E
triadic
#27022D #2D2702 #022D27
tetradic
#27022D #2D1202 #082D02 #021E2D
square
#27022D #2D1202 #082D02 #021E2D
split-complementary
#27022D #1E2D02 #022D12
monochromatic
#19011D #19011D #27022D #5A0568 #8D07A2

Accessibility & contrast

On white

18.54
#27022D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27022D
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27022D#FFFFFF#000000##FFFFFF
##27022D1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#07152C
Tritanopia (blue-blind)
#270917
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27022d;
/* rgb */ color: rgb(39, 2, 45);
/* oklch */ color: oklch(20.0% 0.089 321.9);
Tailwind
colors: {
  custom: {
    50: '#634766',
    500: '#27022d',
    950: '#000000',
  },
}
SCSS
$custom: #27022d;
$custom-light: #634766;
$custom-dark: #000000;
JSON
{
  "hex": "#27022d",
  "rgb": {
    "r": 39,
    "g": 2,
    "b": 45
  },
  "hsl": {
    "h": 291.628,
    "s": 91.489,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19988,
    "c": 0.08879,
    "h": 321.9
  },
  "luminance": 0.00664
}

Semantic roles & 50–950 ramp

primary
#27022D
secondary
#257219
accent
#FF2947
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27022D

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

Preview Lab → · Contrast checker → · Palette generator →

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