#27072F#27072F

#27072F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.081 H 318.9°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#27072F
RGBrgb(39, 7, 47)
HSLhsl(288, 74%, 11%)
HSVhsv(288, 85%, 18%)
CMYKcmyk(17%, 85.1%, 0%, 81.6%)
CIE-LABlab(7.12, 23.64, -18.92)
CIE-LCHlch(7.12, 30.28, 321.32°)
OKLaboklab(20.95% 0.061 -0.0532)
OKLCHoklch(20.95% 0.081 318.9)
XYZxyz(1.4257, 0.7886, 2.7659)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27072F #0F2F07
analogous
#13072F #27072F #2F0723
triadic
#27072F #2F2707 #072F27
tetradic
#27072F #2F1307 #0F2F07 #07232F
square
#27072F #2F1307 #0F2F07 #07232F
split-complementary
#27072F #232F07 #072F13
monochromatic
#16041B #16041B #27072F #530F64 #7F179A

Accessibility & contrast

On white

18.14
#27072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#27072F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27072F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27072F#FFFFFF#000000##FFFFFF
##27072F1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#09172E
Tritanopia (blue-blind)
#270F1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #27072f;
/* rgb */ color: rgb(39, 7, 47);
/* oklch */ color: oklch(20.9% 0.081 318.9);
Tailwind
colors: {
  custom: {
    50: '#634a68',
    500: '#27072f',
    950: '#000000',
  },
}
SCSS
$custom: #27072f;
$custom-light: #634a68;
$custom-dark: #000000;
JSON
{
  "hex": "#27072f",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 288,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20948,
    "c": 0.08096,
    "h": 318.9
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#27072F
secondary
#326F23
accent
#F1375C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #27072F

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

Preview Lab → · Contrast checker → · Palette generator →

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