#27072B#27072B

#27072B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.6% C 0.077 H 323.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#27072B
RGBrgb(39, 7, 43)
HSLhsl(293, 72%, 10%)
HSVhsv(293, 84%, 17%)
CMYKcmyk(9.3%, 83.7%, 0%, 83.1%)
CIE-LABlab(6.85, 22.58, -16.38)
CIE-LCHlch(6.85, 27.89, 324.05°)
OKLaboklab(20.63% 0.0612 -0.0459)
OKLCHoklch(20.63% 0.077 323.1)
XYZxyz(1.3487, 0.7578, 2.3603)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27072B #0B2B07
analogous
#15072B #27072B #2B071D
triadic
#27072B #2B2707 #072B27
tetradic
#27072B #2B1507 #0B2B07 #071D2B
square
#27072B #2B1507 #0B2B07 #071D2B
split-complementary
#27072B #1D2B07 #072B15
monochromatic
#18041A #18041A #27072B #571060 #861894

Accessibility & contrast

On white

18.24
#27072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27072B
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27072B#FFFFFF#000000##FFFFFF
##27072B1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27072b;
/* rgb */ color: rgb(39, 7, 43);
/* oklch */ color: oklch(20.6% 0.077 323.1);
Tailwind
colors: {
  custom: {
    50: '#634a64',
    500: '#27072b',
    950: '#000000',
  },
}
SCSS
$custom: #27072b;
$custom-light: #634a64;
$custom-dark: #000000;
JSON
{
  "hex": "#27072b",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 293.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20632,
    "c": 0.07653,
    "h": 323.1
  },
  "luminance": 0.00758
}

Semantic roles & 50–950 ramp

primary
#27072B
secondary
#2B6B23
accent
#EF394D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050105
muted
#7A777A

Preview Lab

Preview with #27072B

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

Preview Lab → · Contrast checker → · Palette generator →

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