#4E2A55#4E2A55

#4E2A55 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.084 H 320.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2A55
RGBrgb(78, 42, 85)
HSLhsl(290, 34%, 25%)
HSVhsv(290, 51%, 33%)
CMYKcmyk(8.2%, 50.6%, 0%, 66.7%)
CIE-LABlab(23.44, 24.65, -19.29)
CIE-LCHlch(23.44, 31.30, 321.95°)
OKLaboklab(35.02% 0.0655 -0.0532)
OKLCHoklch(35.02% 0.084 320.9)
XYZxyz(5.6093, 3.9317, 9.0560)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2A55 #31552A
analogous
#392A55 #4E2A55 #552A46
triadic
#4E2A55 #554E2A #2A554E
tetradic
#4E2A55 #55392A #31552A #2A4655
square
#4E2A55 #55392A #31552A #2A4655
split-complementary
#4E2A55 #46552A #2A5539
monochromatic
#130A14 #28162C #4E2A55 #743E7E #9952A7

Accessibility & contrast

On white

11.76
#4E2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4E2A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2A55
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2A55#FFFFFF#000000##FFFFFF
##4E2A551.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243556
Deuteranopia (green-blind)
#2E3954
Tritanopia (blue-blind)
#4F2F3B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2a55;
/* rgb */ color: rgb(78, 42, 85);
/* oklch */ color: oklch(35.0% 0.084 320.9);
Tailwind
colors: {
  custom: {
    50: '#816585',
    500: '#4e2a55',
    950: '#000000',
  },
}
SCSS
$custom: #4e2a55;
$custom-light: #816585;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2a55",
  "rgb": {
    "r": 78,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 290.233,
    "s": 33.858,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35018,
    "c": 0.08443,
    "h": 320.9
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#4E2A55
secondary
#5C8753
accent
#CA5E6F
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A050B
muted
#7C7A7C

Preview Lab

Preview with #4E2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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