#4E2B56#4E2B56

#4E2B56 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.3% C 0.084 H 320.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#4E2B56
RGBrgb(78, 43, 86)
HSLhsl(289, 33%, 25%)
HSVhsv(289, 50%, 34%)
CMYKcmyk(9.3%, 50%, 0%, 66.3%)
CIE-LABlab(23.74, 24.27, -19.50)
CIE-LCHlch(23.74, 31.13, 321.21°)
OKLaboklab(35.25% 0.0641 -0.0538)
OKLCHoklch(35.25% 0.084 320)
XYZxyz(5.6853, 4.0195, 9.2787)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B56 #33562B
analogous
#382B56 #4E2B56 #562B48
triadic
#4E2B56 #564E2B #2B564E
tetradic
#4E2B56 #56382B #33562B #2B4856
square
#4E2B56 #56382B #33562B #2B4856
split-complementary
#4E2B56 #48562B #2B5638
monochromatic
#130A14 #29172D #4E2B56 #733F7F #9854A8

Accessibility & contrast

On white

11.64
#4E2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2B56
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B56#FFFFFF#000000##FFFFFF
##4E2B561.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243657
Deuteranopia (green-blind)
#2E3A55
Tritanopia (blue-blind)
#4E313C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4e2b56;
/* rgb */ color: rgb(78, 43, 86);
/* oklch */ color: oklch(35.3% 0.084 320.0);
Tailwind
colors: {
  custom: {
    50: '#816586',
    500: '#4e2b56',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b56;
$custom-light: #816586;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b56",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 288.837,
    "s": 33.333,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.08368,
    "h": 320
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#4E2B56
secondary
#5E8855
accent
#C95E72
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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