#27012C#27012C

#27012C is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.090 H 323.0°. Best body text is #FFFFFF at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#27012C
RGBrgb(39, 1, 44)
HSLhsl(293, 96%, 9%)
HSVhsv(293, 98%, 17%)
CMYKcmyk(11.4%, 97.7%, 0%, 82.7%)
CIE-LABlab(5.74, 25.95, -18.88)
CIE-LCHlch(5.74, 32.09, 323.96°)
OKLaboklab(19.73% 0.0719 -0.0541)
OKLCHoklch(19.73% 0.09 323)
XYZxyz(1.3021, 0.6350, 2.4364)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27012C #062C01
analogous
#12012C #27012C #2C011C
triadic
#27012C #2C2701 #012C27
tetradic
#27012C #2C1201 #062C01 #011C2C
square
#27012C #2C1201 #062C01 #011C2C
split-complementary
#27012C #1C2C01 #012C12
monochromatic
#1B011E #1B011E #27012C #5C0268 #9104A4

Accessibility & contrast

On white

18.63
#27012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27012C
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27012C#FFFFFF#000000##FFFFFF
##27012C1.0018.631.1318.63
#FFFFFF18.631.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27012c;
/* rgb */ color: rgb(39, 1, 44);
/* oklch */ color: oklch(19.7% 0.090 323.0);
Tailwind
colors: {
  custom: {
    50: '#634665',
    500: '#27012c',
    950: '#000000',
  },
}
SCSS
$custom: #27012c;
$custom-light: #634665;
$custom-dark: #000000;
JSON
{
  "hex": "#27012c",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 293.023,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19733,
    "c": 0.09004,
    "h": 323
  },
  "luminance": 0.00635
}

Semantic roles & 50–950 ramp

primary
#27012C
secondary
#217217
accent
#FF2942
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050005
muted
#7A777A

Preview Lab

Preview with #27012C

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

Preview Lab → · Contrast checker → · Palette generator →

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