#4E2D5C#4E2D5C

#4E2D5C is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.0% C 0.087 H 315.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2D5C
RGBrgb(78, 45, 92)
HSLhsl(282, 34%, 27%)
HSVhsv(282, 51%, 36%)
CMYKcmyk(15.2%, 51.1%, 0%, 63.9%)
CIE-LABlab(24.54, 24.46, -22.19)
CIE-LCHlch(24.54, 33.03, 317.79°)
OKLaboklab(35.96% 0.0618 -0.0616)
OKLCHoklch(35.96% 0.087 315.1)
XYZxyz(6.0117, 4.2693, 10.6305)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D5C #3B5C2D
analogous
#372D5C #4E2D5C #5C2D53
triadic
#4E2D5C #5C4E2D #2D5C4E
tetradic
#4E2D5C #5C372D #3B5C2D #2D535C
square
#4E2D5C #5C372D #3B5C2D #2D535C
split-complementary
#4E2D5C #535C2D #2D5C37
monochromatic
#110A15 #2B1933 #4E2D5C #714185 #9357AD

Accessibility & contrast

On white

11.33
#4E2D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4E2D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D5C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D5C#FFFFFF#000000##FFFFFF
##4E2D5C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385E
Deuteranopia (green-blind)
#2D3B5B
Tritanopia (blue-blind)
#4D3440
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d5c;
/* rgb */ color: rgb(78, 45, 92);
/* oklch */ color: oklch(36.0% 0.087 315.1);
Tailwind
colors: {
  custom: {
    50: '#81678a',
    500: '#4e2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d5c;
$custom-light: #81678a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d5c",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 282.128,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.0873,
    "h": 315.1
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#4E2D5C
secondary
#678E57
accent
#CA5D7E
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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