#27072C#27072C

#27072C is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 322.0°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#27072C
RGBrgb(39, 7, 44)
HSLhsl(292, 73%, 10%)
HSVhsv(292, 84%, 17%)
CMYKcmyk(11.4%, 84.1%, 0%, 82.7%)
CIE-LABlab(6.91, 22.84, -17.02)
CIE-LCHlch(6.91, 28.49, 323.31°)
OKLaboklab(20.71% 0.0612 -0.0478)
OKLCHoklch(20.71% 0.078 322)
XYZxyz(1.3673, 0.7652, 2.4581)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27072C #0C2C07
analogous
#15072C #27072C #2C071E
triadic
#27072C #2C2707 #072C27
tetradic
#27072C #2C1507 #0C2C07 #071E2C
square
#27072C #2C1507 #0C2C07 #071E2C
split-complementary
#27072C #1E2C07 #072C15
monochromatic
#17041A #17041A #27072C #560F61 #851896

Accessibility & contrast

On white

18.21
#27072C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#27072C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27072C
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27072C#FFFFFF#000000##FFFFFF
##27072C1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132D
Deuteranopia (green-blind)
#0C172B
Tritanopia (blue-blind)
#280D18
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27072c;
/* rgb */ color: rgb(39, 7, 44);
/* oklch */ color: oklch(20.7% 0.078 322.0);
Tailwind
colors: {
  custom: {
    50: '#634a65',
    500: '#27072c',
    950: '#000000',
  },
}
SCSS
$custom: #27072c;
$custom-light: #634a65;
$custom-dark: #000000;
JSON
{
  "hex": "#27072c",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 44
  },
  "hsl": {
    "h": 291.892,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.20709,
    "c": 0.07762,
    "h": 322
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#27072C
secondary
#2D6C23
accent
#EF3951
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #27072C

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

Preview Lab → · Contrast checker → · Palette generator →

#27072C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva