#4E2B54#4E2B54

#4E2B54 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.1% C 0.081 H 321.6°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#4E2B54
RGBrgb(78, 43, 84)
HSLhsl(291, 32%, 25%)
HSVhsv(291, 49%, 33%)
CMYKcmyk(7.1%, 48.8%, 0%, 67.1%)
CIE-LABlab(23.63, 23.80, -18.34)
CIE-LCHlch(23.63, 30.05, 322.39°)
OKLaboklab(35.14% 0.0637 -0.0505)
OKLCHoklch(35.14% 0.081 321.6)
XYZxyz(5.6058, 3.9878, 8.8602)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B54 #31542B
analogous
#3A2B54 #4E2B54 #542B45
triadic
#4E2B54 #544E2B #2B544E
tetradic
#4E2B54 #543A2B #31542B #2B4554
square
#4E2B54 #543A2B #31542B #2B4554
split-complementary
#4E2B54 #45542B #2B543A
monochromatic
#130A14 #28162C #4E2B54 #74407C #9954A5

Accessibility & contrast

On white

11.68
#4E2B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4E2B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B54
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B54#FFFFFF#000000##FFFFFF
##4E2B541.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253655
Deuteranopia (green-blind)
#2F3A53
Tritanopia (blue-blind)
#4F303B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2b54;
/* rgb */ color: rgb(78, 43, 84);
/* oklch */ color: oklch(35.1% 0.081 321.6);
Tailwind
colors: {
  custom: {
    50: '#816584',
    500: '#4e2b54',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b54;
$custom-light: #816584;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b54",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 291.22,
    "s": 32.283,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.08126,
    "h": 321.6
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#4E2B54
secondary
#5C8655
accent
#C85F6F
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2B54

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

Preview Lab → · Contrast checker → · Palette generator →

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