#271E27#271E27

#271E27 is a very dark, muted purple. Relative luminance 0.015; OKLCH L 24.9% C 0.021 H 326.2°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#271E27
RGBrgb(39, 30, 39)
HSLhsl(300, 13%, 14%)
HSVhsv(300, 23%, 15%)
CMYKcmyk(0%, 23.1%, 0%, 84.7%)
CIE-LABlab(12.65, 6.42, -4.43)
CIE-LCHlch(12.65, 7.80, 325.43°)
OKLaboklab(24.95% 0.0177 -0.0119)
OKLCHoklch(24.95% 0.021 326.2)
XYZxyz(1.6671, 1.5064, 2.1220)
Luminance0.0151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E27 #1E271E
analogous
#221E27 #271E27 #271E22
triadic
#271E27 #27271E #1E2727
tetradic
#271E27 #27221E #1E271E #1E2227
square
#271E27 #27221E #1E271E #1E2227
split-complementary
#271E27 #22271E #1E2722
monochromatic
#110D11 #110D11 #271E27 #4A394A #6C536C

Accessibility & contrast

On white

16.14
#271E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#271E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271E27
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E27#FFFFFF#000000##FFFFFF
##271E271.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2027
Deuteranopia (green-blind)
#1F2127
Tritanopia (blue-blind)
#281F21
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #271e27;
/* rgb */ color: rgb(39, 30, 39);
/* oklch */ color: oklch(24.9% 0.021 326.2);
Tailwind
colors: {
  custom: {
    50: '#615961',
    500: '#271e27',
    950: '#000000',
  },
}
SCSS
$custom: #271e27;
$custom-light: #615961;
$custom-dark: #000000;
JSON
{
  "hex": "#271e27",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 300,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24945,
    "c": 0.02132,
    "h": 326.2
  },
  "luminance": 0.01506
}

Semantic roles & 50–950 ramp

primary
#271E27
secondary
#495849
accent
#B67272
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050305
muted
#797879

Preview Lab

Preview with #271E27

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

Preview Lab → · Contrast checker → · Palette generator →

#271E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva