#271D29#271D29

#271D29 is a very dark, muted purple. Relative luminance 0.015; OKLCH L 24.8% C 0.027 H 320.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#271D29
RGBrgb(39, 29, 41)
HSLhsl(290, 17%, 14%)
HSVhsv(290, 29%, 16%)
CMYKcmyk(4.9%, 29.3%, 0%, 83.9%)
CIE-LABlab(12.42, 7.66, -6.23)
CIE-LCHlch(12.42, 9.88, 320.86°)
OKLaboklab(24.8% 0.0206 -0.0168)
OKLCHoklch(24.8% 0.027 320.7)
XYZxyz(1.6763, 1.4702, 2.2929)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271D29 #1F291D
analogous
#211D29 #271D29 #291D25
triadic
#271D29 #29271D #1D2927
tetradic
#271D29 #29211D #1F291D #1D2529
square
#271D29 #29211D #1F291D #1D2529
split-complementary
#271D29 #25291D #1D2921
monochromatic
#110D12 #110D12 #271D29 #49364D #6B5071

Accessibility & contrast

On white

16.23
#271D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#271D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271D29
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271D29#FFFFFF#000000##FFFFFF
##271D291.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2029
Deuteranopia (green-blind)
#1E2129
Tritanopia (blue-blind)
#271E21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271d29;
/* rgb */ color: rgb(39, 29, 41);
/* oklch */ color: oklch(24.8% 0.027 320.7);
Tailwind
colors: {
  custom: {
    50: '#615962',
    500: '#271d29',
    950: '#000000',
  },
}
SCSS
$custom: #271d29;
$custom-light: #615962;
$custom-dark: #000000;
JSON
{
  "hex": "#271d29",
  "rgb": {
    "r": 39,
    "g": 29,
    "b": 41
  },
  "hsl": {
    "h": 290,
    "s": 17.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24796,
    "c": 0.02659,
    "h": 320.7
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#271D29
secondary
#4A5B47
accent
#BA6E7B
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#050305
muted
#797879

Preview Lab

Preview with #271D29

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

Preview Lab → · Contrast checker → · Palette generator →

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