#4E2D57#4E2D57

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

Color values

HEX#4E2D57
RGBrgb(78, 45, 87)
HSLhsl(287, 32%, 26%)
HSVhsv(287, 48%, 34%)
CMYKcmyk(10.3%, 48.3%, 0%, 65.9%)
CIE-LABlab(24.27, 23.26, -19.32)
CIE-LCHlch(24.27, 30.24, 320.28°)
OKLaboklab(35.67% 0.0609 -0.0533)
OKLCHoklch(35.67% 0.081 318.8)
XYZxyz(5.8003, 4.1848, 9.5172)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D57 #36572D
analogous
#392D57 #4E2D57 #572D4B
triadic
#4E2D57 #574E2D #2D574E
tetradic
#4E2D57 #57392D #36572D #2D4B57
square
#4E2D57 #57392D #36572D #2D4B57
split-complementary
#4E2D57 #4B572D #2D5739
monochromatic
#120A14 #2A182F #4E2D57 #72427F #9657A8

Accessibility & contrast

On white

11.43
#4E2D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D57
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D57#FFFFFF#000000##FFFFFF
##4E2D571.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263758
Deuteranopia (green-blind)
#2F3B56
Tritanopia (blue-blind)
#4E333E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d57;
/* rgb */ color: rgb(78, 45, 87);
/* oklch */ color: oklch(35.7% 0.081 318.8);
Tailwind
colors: {
  custom: {
    50: '#806786',
    500: '#4e2d57',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d57;
$custom-light: #806786;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d57",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 287.143,
    "s": 31.818,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.08097,
    "h": 318.8
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#4E2D57
secondary
#628957
accent
#C86076
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2D57

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

Preview Lab → · Contrast checker → · Palette generator →

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