#4E274A#4E274A

#4E274A is a dark, moderate purple. Relative luminance 0.036; OKLCH L 33.9% C 0.078 H 331.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#4E274A
RGBrgb(78, 39, 74)
HSLhsl(306, 33%, 23%)
HSVhsv(306, 50%, 31%)
CMYKcmyk(0%, 50%, 5.1%, 69.4%)
CIE-LABlab(22.18, 24.06, -13.90)
CIE-LCHlch(22.18, 27.79, 329.99°)
OKLaboklab(33.89% 0.0682 -0.0378)
OKLCHoklch(33.89% 0.078 331)
XYZxyz(5.1034, 3.5654, 6.8966)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E274A #274E2B
analogous
#3E274E #4E274A #4E2736
triadic
#4E274A #4A4E27 #274A4E
tetradic
#4E274A #4E3E27 #274E2B #27364E
square
#4E274A #4E3E27 #274E2B #27364E
split-complementary
#4E274A #364E27 #274E3E
monochromatic
#140A13 #251323 #4E274A #773B71 #A05097

Accessibility & contrast

On white

12.26
#4E274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E274A
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E274A#FFFFFF#000000##FFFFFF
##4E274A1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324B
Deuteranopia (green-blind)
#303749
Tritanopia (blue-blind)
#512A35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e274a;
/* rgb */ color: rgb(78, 39, 74);
/* oklch */ color: oklch(33.9% 0.078 331.0);
Tailwind
colors: {
  custom: {
    50: '#81627c',
    500: '#4e274a',
    950: '#000000',
  },
}
SCSS
$custom: #4e274a;
$custom-light: #81627c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e274a",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 306.154,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33893,
    "c": 0.07797,
    "h": 331
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#4E274A
secondary
#508155
accent
#C9695E
background
#F7F5F7
surface
#EEEAEE
border
#C9C6C9
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E274A

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

Preview Lab → · Contrast checker → · Palette generator →

#4E274A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva