#4E2B58#4E2B58

#4E2B58 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.4% C 0.086 H 318.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#4E2B58
RGBrgb(78, 43, 88)
HSLhsl(287, 34%, 26%)
HSVhsv(287, 51%, 35%)
CMYKcmyk(11.4%, 51.1%, 0%, 65.5%)
CIE-LABlab(23.84, 24.74, -20.66)
CIE-LCHlch(23.84, 32.23, 320.14°)
OKLaboklab(35.37% 0.0644 -0.0572)
OKLCHoklch(35.37% 0.086 318.4)
XYZxyz(5.7670, 4.0522, 9.7090)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2B58 #35582B
analogous
#372B58 #4E2B58 #582B4B
triadic
#4E2B58 #584E2B #2B584E
tetradic
#4E2B58 #58372B #35582B #2B4B58
square
#4E2B58 #58372B #35582B #2B4B58
split-complementary
#4E2B58 #4B582B #2B5837
monochromatic
#120A15 #2A172F #4E2B58 #723F81 #9753AA

Accessibility & contrast

On white

11.60
#4E2B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4E2B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2B58
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2B58#FFFFFF#000000##FFFFFF
##4E2B581.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23365A
Deuteranopia (green-blind)
#2D3A57
Tritanopia (blue-blind)
#4E313D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2b58;
/* rgb */ color: rgb(78, 43, 88);
/* oklch */ color: oklch(35.4% 0.086 318.4);
Tailwind
colors: {
  custom: {
    50: '#816587',
    500: '#4e2b58',
    950: '#000000',
  },
}
SCSS
$custom: #4e2b58;
$custom-light: #816587;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2b58",
  "rgb": {
    "r": 78,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 286.667,
    "s": 34.351,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.08613,
    "h": 318.4
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#4E2B58
secondary
#618A55
accent
#CA5D76
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2B58

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

Preview Lab → · Contrast checker → · Palette generator →

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