#4E2A51#4E2A51

#4E2A51 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 34.8% C 0.080 H 324.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#4E2A51
RGBrgb(78, 42, 81)
HSLhsl(295, 32%, 24%)
HSVhsv(295, 48%, 32%)
CMYKcmyk(3.7%, 48.1%, 0%, 68.2%)
CIE-LABlab(23.24, 23.74, -16.96)
CIE-LCHlch(23.24, 29.17, 324.46°)
OKLaboklab(34.8% 0.0647 -0.0465)
OKLCHoklch(34.8% 0.08 324.3)
XYZxyz(5.4549, 3.8700, 8.2426)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A51 #2D512A
analogous
#3B2A51 #4E2A51 #512A41
triadic
#4E2A51 #514E2A #2A514E
tetradic
#4E2A51 #513B2A #2D512A #2A4151
square
#4E2A51 #513B2A #2D512A #2A4151
split-complementary
#4E2A51 #41512A #2A513B
monochromatic
#130A14 #271529 #4E2A51 #753F79 #9C54A2

Accessibility & contrast

On white

11.84
#4E2A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E2A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A51
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A51#FFFFFF#000000##FFFFFF
##4E2A511.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263552
Deuteranopia (green-blind)
#303950
Tritanopia (blue-blind)
#4F2E39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2a51;
/* rgb */ color: rgb(78, 42, 81);
/* oklch */ color: oklch(34.8% 0.080 324.3);
Tailwind
colors: {
  custom: {
    50: '#816582',
    500: '#4e2a51',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a51;
$custom-light: #816582;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a51",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 295.385,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34796,
    "c": 0.0797,
    "h": 324.3
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#4E2A51
secondary
#578354
accent
#C86068
background
#F7F6F7
surface
#EEEBEE
border
#C9C6C9
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2A51

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

Preview Lab → · Contrast checker → · Palette generator →

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