#272129#272129

#272129 is a dark, near-neutral purple. Relative luminance 0.017; OKLCH L 25.8% C 0.017 H 317.7°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#272129
RGBrgb(39, 33, 41)
HSLhsl(285, 11%, 15%)
HSVhsv(285, 20%, 16%)
CMYKcmyk(4.9%, 19.5%, 0%, 83.9%)
CIE-LABlab(13.70, 4.76, -4.29)
CIE-LCHlch(13.70, 6.41, 317.95°)
OKLaboklab(25.79% 0.0126 -0.0115)
OKLCHoklch(25.79% 0.017 317.7)
XYZxyz(1.7807, 1.6792, 2.3277)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272129 #232921
analogous
#232129 #272129 #292127
triadic
#272129 #292721 #212927
tetradic
#272129 #292321 #232921 #212729
square
#272129 #292321 #232921 #212729
split-complementary
#272129 #272921 #212923
monochromatic
#100E11 #100E11 #272129 #473C4B #68586D

Accessibility & contrast

On white

15.72
#272129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#272129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272129
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272129#FFFFFF#000000##FFFFFF
##2721291.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202329
Deuteranopia (green-blind)
#212329
Tritanopia (blue-blind)
#272224
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #272129;
/* rgb */ color: rgb(39, 33, 41);
/* oklch */ color: oklch(25.8% 0.017 317.7);
Tailwind
colors: {
  custom: {
    50: '#615c62',
    500: '#272129',
    950: '#000000',
  },
}
SCSS
$custom: #272129;
$custom-light: #615c62;
$custom-dark: #000000;
JSON
{
  "hex": "#272129",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 285,
    "s": 10.811,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25789,
    "c": 0.0171,
    "h": 317.7
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#272129
secondary
#50594D
accent
#B47484
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#050405
muted
#797979

Preview Lab

Preview with #272129

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

Preview Lab → · Contrast checker → · Palette generator →

#272129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva