#27122E#27122E

#27122E is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.059 H 317.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#27122E
RGBrgb(39, 18, 46)
HSLhsl(285, 44%, 13%)
HSVhsv(285, 61%, 18%)
CMYKcmyk(15.2%, 60.9%, 0%, 82%)
CIE-LABlab(9.49, 16.81, -14.42)
CIE-LCHlch(9.49, 22.15, 319.37°)
OKLaboklab(22.67% 0.0432 -0.04)
OKLCHoklch(22.67% 0.059 317.2)
XYZxyz(1.5461, 1.0613, 2.7076)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27122E #192E12
analogous
#19122E #27122E #2E1227
triadic
#27122E #2E2712 #122E27
tetradic
#27122E #2E1912 #192E12 #12272E
square
#27122E #2E1912 #192E12 #12272E
split-complementary
#27122E #272E12 #122E19
monochromatic
#130916 #130916 #27122E #4C235A #723486

Accessibility & contrast

On white

17.32
#27122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27122E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27122E#FFFFFF#000000##FFFFFF
##27122E1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#27161D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #27122e;
/* rgb */ color: rgb(39, 18, 46);
/* oklch */ color: oklch(22.7% 0.059 317.2);
Tailwind
colors: {
  custom: {
    50: '#625067',
    500: '#27122e',
    950: '#000000',
  },
}
SCSS
$custom: #27122e;
$custom-light: #625067;
$custom-dark: #000000;
JSON
{
  "hex": "#27122e",
  "rgb": {
    "r": 39,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 285,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22674,
    "c": 0.0589,
    "h": 317.2
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#27122E
secondary
#426636
accent
#D35474
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #27122E

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

Preview Lab → · Contrast checker → · Palette generator →

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