#271E26#271E26

#271E26 is a very dark, near-neutral purple. Relative luminance 0.015; OKLCH L 24.9% C 0.020 H 329.8°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#271E26
RGBrgb(39, 30, 38)
HSLhsl(307, 13%, 14%)
HSVhsv(307, 23%, 15%)
CMYKcmyk(0%, 23.1%, 2.6%, 84.7%)
CIE-LABlab(12.61, 6.18, -3.76)
CIE-LCHlch(12.61, 7.23, 328.67°)
OKLaboklab(24.9% 0.0173 -0.01)
OKLCHoklch(24.9% 0.02 329.8)
XYZxyz(1.6508, 1.4999, 2.0359)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E26 #1E271F
analogous
#231E27 #271E26 #271E21
triadic
#271E26 #26271E #1E2627
tetradic
#271E26 #27231E #1E271F #1E2127
square
#271E26 #27231E #1E271F #1E2127
split-complementary
#271E26 #21271E #1E2723
monochromatic
#110D11 #110D11 #271E26 #4A3948 #6C5369

Accessibility & contrast

On white

16.15
#271E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E26
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E26#FFFFFF#000000##FFFFFF
##271E261.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271e26;
/* rgb */ color: rgb(39, 30, 38);
/* oklch */ color: oklch(24.9% 0.020 329.8);
Tailwind
colors: {
  custom: {
    50: '#615960',
    500: '#271e26',
    950: '#000000',
  },
}
SCSS
$custom: #271e26;
$custom-light: #615960;
$custom-dark: #000000;
JSON
{
  "hex": "#271e26",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 306.667,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24899,
    "c": 0.01998,
    "h": 329.8
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#271E26
secondary
#49584B
accent
#B67972
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#050304
muted
#797879

Preview Lab

Preview with #271E26

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

Preview Lab → · Contrast checker → · Palette generator →

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