#27012F#27012F

#27012F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 320.1°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#27012F
RGBrgb(39, 1, 47)
HSLhsl(290, 96%, 9%)
HSVhsv(290, 98%, 18%)
CMYKcmyk(17%, 97.9%, 0%, 81.6%)
CIE-LABlab(5.95, 26.80, -20.80)
CIE-LCHlch(5.95, 33.93, 322.19°)
OKLaboklab(20% 0.0712 -0.0595)
OKLCHoklch(20% 0.093 320.1)
XYZxyz(1.3606, 0.6584, 2.7442)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27012F #092F01
analogous
#10012F #27012F #2F0120
triadic
#27012F #2F2701 #012F27
tetradic
#27012F #2F1001 #092F01 #01202F
square
#27012F #2F1001 #092F01 #01202F
split-complementary
#27012F #202F01 #012F10
monochromatic
#19011E #19011E #27012F #59026B #8A04A7

Accessibility & contrast

On white

18.56
#27012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27012F
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27012F#FFFFFF#000000##FFFFFF
##27012F1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#04142E
Tritanopia (blue-blind)
#270A18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #27012f;
/* rgb */ color: rgb(39, 1, 47);
/* oklch */ color: oklch(20.0% 0.093 320.1);
Tailwind
colors: {
  custom: {
    50: '#634668',
    500: '#27012f',
    950: '#000000',
  },
}
SCSS
$custom: #27012f;
$custom-light: #634668;
$custom-dark: #000000;
JSON
{
  "hex": "#27012f",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 289.565,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19997,
    "c": 0.09283,
    "h": 320.1
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#27012F
secondary
#277517
accent
#FF294E
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27012F

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

Preview Lab → · Contrast checker → · Palette generator →

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