#4E2D58#4E2D58

#4E2D58 is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.7% C 0.082 H 318.0°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2D58
RGBrgb(78, 45, 88)
HSLhsl(286, 32%, 26%)
HSVhsv(286, 49%, 35%)
CMYKcmyk(11.4%, 48.9%, 0%, 65.5%)
CIE-LABlab(24.33, 23.50, -19.90)
CIE-LCHlch(24.33, 30.79, 319.74°)
OKLaboklab(35.73% 0.0611 -0.055)
OKLCHoklch(35.73% 0.082 318)
XYZxyz(5.8415, 4.2012, 9.7338)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D58 #37582D
analogous
#382D58 #4E2D58 #582D4C
triadic
#4E2D58 #584E2D #2D584E
tetradic
#4E2D58 #58382D #37582D #2D4C58
square
#4E2D58 #58382D #37582D #2D4C58
split-complementary
#4E2D58 #4C582D #2D5838
monochromatic
#120A14 #2A1830 #4E2D58 #724280 #9657A9

Accessibility & contrast

On white

11.41
#4E2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D58
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D58#FFFFFF#000000##FFFFFF
##4E2D581.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#2F3B57
Tritanopia (blue-blind)
#4E333E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d58;
/* rgb */ color: rgb(78, 45, 88);
/* oklch */ color: oklch(35.7% 0.082 318.0);
Tailwind
colors: {
  custom: {
    50: '#816787',
    500: '#4e2d58',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d58;
$custom-light: #816787;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d58",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 286.047,
    "s": 32.331,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35727,
    "c": 0.08222,
    "h": 318
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#4E2D58
secondary
#638A57
accent
#C85F78
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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