#27072E#27072E

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

Color values

HEX#27072E
RGBrgb(39, 7, 46)
HSLhsl(289, 74%, 10%)
HSVhsv(289, 85%, 18%)
CMYKcmyk(15.2%, 84.8%, 0%, 82%)
CIE-LABlab(7.05, 23.38, -18.30)
CIE-LCHlch(7.05, 29.68, 321.95°)
OKLaboklab(20.87% 0.0611 -0.0514)
OKLCHoklch(20.87% 0.08 319.9)
XYZxyz(1.4058, 0.7806, 2.6609)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27072E #0E2E07
analogous
#13072E #27072E #2E0721
triadic
#27072E #2E2707 #072E27
tetradic
#27072E #2E1307 #0E2E07 #07212E
square
#27072E #2E1307 #0E2E07 #07212E
split-complementary
#27072E #212E07 #072E13
monochromatic
#17041B #17041B #27072E #540F63 #811798

Accessibility & contrast

On white

18.16
#27072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27072E
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27072E#FFFFFF#000000##FFFFFF
##27072E1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#270E19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #27072e;
/* rgb */ color: rgb(39, 7, 46);
/* oklch */ color: oklch(20.9% 0.080 319.9);
Tailwind
colors: {
  custom: {
    50: '#634a67',
    500: '#27072e',
    950: '#000000',
  },
}
SCSS
$custom: #27072e;
$custom-light: #634a67;
$custom-dark: #000000;
JSON
{
  "hex": "#27072e",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 289.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20867,
    "c": 0.07984,
    "h": 319.9
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#27072E
secondary
#306E23
accent
#F03859
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #27072E

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

Preview Lab → · Contrast checker → · Palette generator →

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