#27012B#27012B

#27012B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.089 H 324.0°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#27012B
RGBrgb(39, 1, 43)
HSLhsl(294, 95%, 9%)
HSVhsv(294, 98%, 17%)
CMYKcmyk(9.3%, 97.7%, 0%, 83.1%)
CIE-LABlab(5.67, 25.67, -18.24)
CIE-LCHlch(5.67, 31.49, 324.61°)
OKLaboklab(19.65% 0.0721 -0.0523)
OKLCHoklch(19.65% 0.089 324)
XYZxyz(1.2836, 0.6275, 2.3386)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27012B #052B01
analogous
#12012B #27012B #2B011A
triadic
#27012B #2B2701 #012B27
tetradic
#27012B #2B1201 #052B01 #011A2B
square
#27012B #2B1201 #052B01 #011A2B
split-complementary
#27012B #1A2B01 #012B12
monochromatic
#1B011E #1B011E #27012B #5D0267 #9304A3

Accessibility & contrast

On white

18.66
#27012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27012B
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27012B#FFFFFF#000000##FFFFFF
##27012B1.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#07142A
Tritanopia (blue-blind)
#280715
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #27012b;
/* rgb */ color: rgb(39, 1, 43);
/* oklch */ color: oklch(19.6% 0.089 324.0);
Tailwind
colors: {
  custom: {
    50: '#634664',
    500: '#27012b',
    950: '#000000',
  },
}
SCSS
$custom: #27012b;
$custom-light: #634664;
$custom-dark: #000000;
JSON
{
  "hex": "#27012b",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 294.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19648,
    "c": 0.08913,
    "h": 324
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#27012B
secondary
#1F7117
accent
#FF293D
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050005
muted
#7A777A

Preview Lab

Preview with #27012B

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

Preview Lab → · Contrast checker → · Palette generator →

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