#271A29#271A29

#271A29 is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.1% C 0.034 H 322.0°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#271A29
RGBrgb(39, 26, 41)
HSLhsl(292, 22%, 13%)
HSVhsv(292, 37%, 16%)
CMYKcmyk(4.9%, 36.6%, 0%, 83.9%)
CIE-LABlab(11.49, 9.84, -7.65)
CIE-LCHlch(11.49, 12.46, 322.13°)
OKLaboklab(24.08% 0.0266 -0.0208)
OKLCHoklch(24.08% 0.034 322)
XYZxyz(1.6063, 1.3303, 2.2695)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271A29 #1C291A
analogous
#1F1A29 #271A29 #291A23
triadic
#271A29 #29271A #1A2927
tetradic
#271A29 #291F1A #1C291A #1A2329
square
#271A29 #291F1A #1C291A #1A2329
split-complementary
#271A29 #23291A #1A291F
monochromatic
#120C13 #120C13 #271A29 #4B324E #6E4974

Accessibility & contrast

On white

16.59
#271A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#271A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271A29
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271A29#FFFFFF#000000##FFFFFF
##271A291.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2A
Deuteranopia (green-blind)
#1C1F28
Tritanopia (blue-blind)
#271C1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #271a29;
/* rgb */ color: rgb(39, 26, 41);
/* oklch */ color: oklch(24.1% 0.034 322.0);
Tailwind
colors: {
  custom: {
    50: '#615662',
    500: '#271a29',
    950: '#000000',
  },
}
SCSS
$custom: #271a29;
$custom-light: #615662;
$custom-dark: #000000;
JSON
{
  "hex": "#271a29",
  "rgb": {
    "r": 39,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 292,
    "s": 22.388,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24083,
    "c": 0.03372,
    "h": 322
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#271A29
secondary
#465C43
accent
#BF6974
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #271A29

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

Preview Lab → · Contrast checker → · Palette generator →

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