#27072A#27072A

#27072A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.075 H 324.2°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#27072A
RGBrgb(39, 7, 42)
HSLhsl(295, 71%, 10%)
HSVhsv(295, 83%, 16%)
CMYKcmyk(7.1%, 83.3%, 0%, 83.5%)
CIE-LABlab(6.78, 22.32, -15.73)
CIE-LCHlch(6.78, 27.30, 324.83°)
OKLaboklab(20.56% 0.0612 -0.0441)
OKLCHoklch(20.56% 0.075 324.2)
XYZxyz(1.3306, 0.7505, 2.2648)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27072A #0A2A07
analogous
#16072A #27072A #2A071C
triadic
#27072A #2A2707 #072A27
tetradic
#27072A #2A1607 #0A2A07 #071C2A
square
#27072A #2A1607 #0A2A07 #071C2A
split-complementary
#27072A #1C2A07 #072A16
monochromatic
#18041A #18041A #27072A #58105E #881893

Accessibility & contrast

On white

18.26
#27072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27072A
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27072A#FFFFFF#000000##FFFFFF
##27072A1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02132B
Deuteranopia (green-blind)
#0D1629
Tritanopia (blue-blind)
#280C17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #27072a;
/* rgb */ color: rgb(39, 7, 42);
/* oklch */ color: oklch(20.6% 0.075 324.2);
Tailwind
colors: {
  custom: {
    50: '#634a63',
    500: '#27072a',
    950: '#000000',
  },
}
SCSS
$custom: #27072a;
$custom-light: #634a63;
$custom-dark: #000000;
JSON
{
  "hex": "#27072a",
  "rgb": {
    "r": 39,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 294.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20556,
    "c": 0.07544,
    "h": 324.2
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#27072A
secondary
#296A23
accent
#EE3A49
background
#F5F4F5
surface
#EAE7EA
border
#C6C3C6
text
#050105
muted
#797779

Preview Lab

Preview with #27072A

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

Preview Lab → · Contrast checker → · Palette generator →

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