#27042F#27042F

#27042F is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.087 H 319.5°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#27042F
RGBrgb(39, 4, 47)
HSLhsl(289, 84%, 10%)
HSVhsv(289, 91%, 18%)
CMYKcmyk(17%, 91.5%, 0%, 81.6%)
CIE-LABlab(6.54, 25.23, -19.86)
CIE-LCHlch(6.54, 32.11, 321.79°)
OKLaboklab(20.48% 0.0659 -0.0563)
OKLCHoklch(20.48% 0.087 319.5)
XYZxyz(1.3931, 0.7235, 2.7550)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27042F #0C2F04
analogous
#11042F #27042F #2F0422
triadic
#27042F #2F2704 #042F27
tetradic
#27042F #2F1104 #0C2F04 #04222F
square
#27042F #2F1104 #0C2F04 #04222F
split-complementary
#27042F #222F04 #042F11
monochromatic
#17021C #17021C #27042F #560967 #850EA0

Accessibility & contrast

On white

18.35
#27042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27042F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27042F#FFFFFF#000000##FFFFFF
##27042F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#270C19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27042f;
/* rgb */ color: rgb(39, 4, 47);
/* oklch */ color: oklch(20.5% 0.087 319.5);
Tailwind
colors: {
  custom: {
    50: '#634868',
    500: '#27042f',
    950: '#000000',
  },
}
SCSS
$custom: #27042f;
$custom-light: #634868;
$custom-dark: #000000;
JSON
{
  "hex": "#27042f",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 288.837,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.20484,
    "c": 0.08667,
    "h": 319.5
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#27042F
secondary
#2D721D
accent
#FB2D53
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27042F

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

Preview Lab → · Contrast checker → · Palette generator →

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