#27012D#27012D

#27012D is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.091 H 322.0°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#27012D
RGBrgb(39, 1, 45)
HSLhsl(292, 96%, 9%)
HSVhsv(292, 98%, 18%)
CMYKcmyk(13.3%, 97.8%, 0%, 82.4%)
CIE-LABlab(5.80, 26.24, -19.53)
CIE-LCHlch(5.80, 32.70, 323.34°)
OKLaboklab(19.82% 0.0717 -0.0559)
OKLCHoklch(19.82% 0.091 322)
XYZxyz(1.3212, 0.6426, 2.5366)
Luminance0.0064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27012D #072D01
analogous
#11012D #27012D #2D011D
triadic
#27012D #2D2701 #012D27
tetradic
#27012D #2D1101 #072D01 #011D2D
square
#27012D #2D1101 #072D01 #011D2D
split-complementary
#27012D #1D2D01 #012D11
monochromatic
#1A011E #1A011E #27012D #5B0269 #8F04A5

Accessibility & contrast

On white

18.61
#27012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27012D
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27012D#FFFFFF#000000##FFFFFF
##27012D1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#06142C
Tritanopia (blue-blind)
#280816
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27012d;
/* rgb */ color: rgb(39, 1, 45);
/* oklch */ color: oklch(19.8% 0.091 322.0);
Tailwind
colors: {
  custom: {
    50: '#634666',
    500: '#27012d',
    950: '#000000',
  },
}
SCSS
$custom: #27012d;
$custom-light: #634666;
$custom-dark: #000000;
JSON
{
  "hex": "#27012d",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 291.818,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.1982,
    "c": 0.09096,
    "h": 322
  },
  "luminance": 0.00643
}

Semantic roles & 50–950 ramp

primary
#27012D
secondary
#237317
accent
#FF2946
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27012D

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

Preview Lab → · Contrast checker → · Palette generator →

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