#27042E#27042E

#27042E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.086 H 320.5°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#27042E
RGBrgb(39, 4, 46)
HSLhsl(290, 84%, 10%)
HSVhsv(290, 91%, 18%)
CMYKcmyk(15.2%, 91.3%, 0%, 82%)
CIE-LABlab(6.46, 24.95, -19.23)
CIE-LCHlch(6.46, 31.50, 322.38°)
OKLaboklab(20.4% 0.0661 -0.0545)
OKLCHoklch(20.4% 0.086 320.5)
XYZxyz(1.3732, 0.7155, 2.6500)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27042E #0B2E04
analogous
#12042E #27042E #2E0420
triadic
#27042E #2E2704 #042E27
tetradic
#27042E #2E1204 #0B2E04 #04202E
square
#27042E #2E1204 #0B2E04 #04202E
split-complementary
#27042E #202E04 #042E12
monochromatic
#18021C #18021C #27042E #570966 #860E9F

Accessibility & contrast

On white

18.37
#27042E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27042E
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27042E#FFFFFF#000000##FFFFFF
##27042E1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#07162D
Tritanopia (blue-blind)
#270C18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #27042e;
/* rgb */ color: rgb(39, 4, 46);
/* oklch */ color: oklch(20.4% 0.086 320.5);
Tailwind
colors: {
  custom: {
    50: '#634867',
    500: '#27042e',
    950: '#000000',
  },
}
SCSS
$custom: #27042e;
$custom-light: #634867;
$custom-dark: #000000;
JSON
{
  "hex": "#27042e",
  "rgb": {
    "r": 39,
    "g": 4,
    "b": 46
  },
  "hsl": {
    "h": 290,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20399,
    "c": 0.08563,
    "h": 320.5
  },
  "luminance": 0.00715
}

Semantic roles & 50–950 ramp

primary
#27042E
secondary
#2B711D
accent
#FA2E50
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050006
muted
#7A777A

Preview Lab

Preview with #27042E

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

Preview Lab → · Contrast checker → · Palette generator →

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