#27042B#27042B

#27042B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.083 H 323.6°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#27042B
RGBrgb(39, 4, 43)
HSLhsl(294, 83%, 9%)
HSVhsv(294, 91%, 17%)
CMYKcmyk(9.3%, 90.7%, 0%, 83.1%)
CIE-LABlab(6.26, 24.13, -17.31)
CIE-LCHlch(6.26, 29.69, 324.35°)
OKLaboklab(20.15% 0.0664 -0.049)
OKLCHoklch(20.15% 0.083 323.6)
XYZxyz(1.3161, 0.6927, 2.3494)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27042B #082B04
analogous
#14042B #27042B #2B041C
triadic
#27042B #2B2704 #042B27
tetradic
#27042B #2B1404 #082B04 #041C2B
square
#27042B #2B1404 #082B04 #041C2B
split-complementary
#27042B #1C2B04 #042B14
monochromatic
#19031C #19031C #27042B #5A0963 #8D0E9B

Accessibility & contrast

On white

18.44
#27042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27042B
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27042B#FFFFFF#000000##FFFFFF
##27042B1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#0A152A
Tritanopia (blue-blind)
#280A16
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27042b;
/* rgb */ color: rgb(39, 4, 43);
/* oklch */ color: oklch(20.2% 0.083 323.6);
Tailwind
colors: {
  custom: {
    50: '#634864',
    500: '#27042b',
    950: '#000000',
  },
}
SCSS
$custom: #27042b;
$custom-light: #634864;
$custom-dark: #000000;
JSON
{
  "hex": "#27042b",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 293.846,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20152,
    "c": 0.08257,
    "h": 323.6
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#27042B
secondary
#256E1D
accent
#F92E43
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050005
muted
#7A777A

Preview Lab

Preview with #27042B

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

Preview Lab → · Contrast checker → · Palette generator →

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