#27112E#27112E

#27112E is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.061 H 317.5°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#27112E
RGBrgb(39, 17, 46)
HSLhsl(286, 46%, 12%)
HSVhsv(286, 63%, 18%)
CMYKcmyk(15.2%, 63%, 0%, 82%)
CIE-LABlab(9.23, 17.48, -14.83)
CIE-LCHlch(9.23, 22.93, 319.69°)
OKLaboklab(22.48% 0.045 -0.0412)
OKLCHoklch(22.48% 0.061 317.5)
XYZxyz(1.5302, 1.0295, 2.7024)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27112E #182E11
analogous
#18112E #27112E #2E1127
triadic
#27112E #2E2711 #112E27
tetradic
#27112E #2E1811 #182E11 #11272E
square
#27112E #2E1811 #182E11 #11272E
split-complementary
#27112E #272E11 #112E18
monochromatic
#130816 #130816 #27112E #4D225B #733287

Accessibility & contrast

On white

17.42
#27112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#27112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27112E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27112E#FFFFFF#000000##FFFFFF
##27112E1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B192F
Deuteranopia (green-blind)
#121B2D
Tritanopia (blue-blind)
#27151D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #27112e;
/* rgb */ color: rgb(39, 17, 46);
/* oklch */ color: oklch(22.5% 0.061 317.5);
Tailwind
colors: {
  custom: {
    50: '#625067',
    500: '#27112e',
    950: '#000000',
  },
}
SCSS
$custom: #27112e;
$custom-light: #625067;
$custom-dark: #000000;
JSON
{
  "hex": "#27112e",
  "rgb": {
    "r": 39,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 285.517,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22484,
    "c": 0.061,
    "h": 317.5
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#27112E
secondary
#416634
accent
#D65272
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #27112E

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

Preview Lab → · Contrast checker → · Palette generator →

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