#4E2A52#4E2A52

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

Color values

HEX#4E2A52
RGBrgb(78, 42, 82)
HSLhsl(294, 32%, 24%)
HSVhsv(294, 49%, 32%)
CMYKcmyk(4.9%, 48.8%, 0%, 67.8%)
CIE-LABlab(23.29, 23.96, -17.54)
CIE-LCHlch(23.29, 29.70, 323.79°)
OKLaboklab(34.85% 0.0649 -0.0482)
OKLCHoklch(34.85% 0.081 323.4)
XYZxyz(5.4927, 3.8851, 8.4416)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A52 #2E522A
analogous
#3A2A52 #4E2A52 #522A42
triadic
#4E2A52 #524E2A #2A524E
tetradic
#4E2A52 #523A2A #2E522A #2A4252
square
#4E2A52 #523A2A #2E522A #2A4252
split-complementary
#4E2A52 #42522A #2A523A
monochromatic
#130A14 #28152A #4E2A52 #743F7A #9B53A3

Accessibility & contrast

On white

11.82
#4E2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4E2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A52
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A52#FFFFFF#000000##FFFFFF
##4E2A521.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253553
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#4F2F3A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e2a52;
/* rgb */ color: rgb(78, 42, 82);
/* oklch */ color: oklch(34.8% 0.081 323.4);
Tailwind
colors: {
  custom: {
    50: '#816582',
    500: '#4e2a52',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a52;
$custom-light: #816582;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a52",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 294,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.08088,
    "h": 323.4
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#4E2A52
secondary
#588454
accent
#C85F6A
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050A
muted
#7C7A7C

Preview Lab

Preview with #4E2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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