#27042D#27042D

#27042D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.085 H 321.5°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#27042D
RGBrgb(39, 4, 45)
HSLhsl(291, 84%, 10%)
HSVhsv(291, 91%, 18%)
CMYKcmyk(13.3%, 91.1%, 0%, 82.4%)
CIE-LABlab(6.39, 24.68, -18.59)
CIE-LCHlch(6.39, 30.90, 323.00°)
OKLaboklab(20.32% 0.0662 -0.0527)
OKLCHoklch(20.32% 0.085 321.5)
XYZxyz(1.3537, 0.7077, 2.5474)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27042D #0A2D04
analogous
#13042D #27042D #2D041F
triadic
#27042D #2D2704 #042D27
tetradic
#27042D #2D1304 #0A2D04 #041F2D
square
#27042D #2D1304 #0A2D04 #041F2D
split-complementary
#27042D #1F2D04 #042D13
monochromatic
#18021C #18021C #27042D #580965 #880E9D

Accessibility & contrast

On white

18.40
#27042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#27042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27042D
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27042D#FFFFFF#000000##FFFFFF
##27042D1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#08152C
Tritanopia (blue-blind)
#270B18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27042d;
/* rgb */ color: rgb(39, 4, 45);
/* oklch */ color: oklch(20.3% 0.085 321.5);
Tailwind
colors: {
  custom: {
    50: '#634866',
    500: '#27042d',
    950: '#000000',
  },
}
SCSS
$custom: #27042d;
$custom-light: #634866;
$custom-dark: #000000;
JSON
{
  "hex": "#27042d",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 291.22,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20316,
    "c": 0.08461,
    "h": 321.5
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#27042D
secondary
#29701D
accent
#FA2E4C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27042D

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

Preview Lab → · Contrast checker → · Palette generator →

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