#27012E#27012E

#27012E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.9% C 0.092 H 321.1°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#27012E
RGBrgb(39, 1, 46)
HSLhsl(291, 96%, 9%)
HSVhsv(291, 98%, 18%)
CMYKcmyk(15.2%, 97.8%, 0%, 82%)
CIE-LABlab(5.88, 26.52, -20.17)
CIE-LCHlch(5.88, 33.31, 322.75°)
OKLaboklab(19.91% 0.0715 -0.0577)
OKLCHoklch(19.91% 0.092 321.1)
XYZxyz(1.3406, 0.6504, 2.6392)
Luminance0.0065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27012E #082E01
analogous
#11012E #27012E #2E011F
triadic
#27012E #2E2701 #012E27
tetradic
#27012E #2E1101 #082E01 #011F2E
square
#27012E #2E1101 #082E01 #011F2E
split-complementary
#27012E #1F2E01 #012E11
monochromatic
#19011E #19011E #27012E #5A026A #8D04A6

Accessibility & contrast

On white

18.58
#27012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#27012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27012E
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27012E#FFFFFF#000000##FFFFFF
##27012E1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#270917
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27012e;
/* rgb */ color: rgb(39, 1, 46);
/* oklch */ color: oklch(19.9% 0.092 321.1);
Tailwind
colors: {
  custom: {
    50: '#634667',
    500: '#27012e',
    950: '#000000',
  },
}
SCSS
$custom: #27012e;
$custom-light: #634667;
$custom-dark: #000000;
JSON
{
  "hex": "#27012e",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 290.667,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19908,
    "c": 0.0919,
    "h": 321.1
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#27012E
secondary
#257417
accent
#FF294A
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27012E

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

Preview Lab → · Contrast checker → · Palette generator →

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