#4E2D5E#4E2D5E

#4E2D5E is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.1% C 0.090 H 313.8°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#4E2D5E
RGBrgb(78, 45, 94)
HSLhsl(280, 35%, 27%)
HSVhsv(280, 52%, 37%)
CMYKcmyk(17%, 52.1%, 0%, 63.1%)
CIE-LABlab(24.65, 24.95, -23.33)
CIE-LCHlch(24.65, 34.16, 316.93°)
OKLaboklab(36.08% 0.0622 -0.0649)
OKLCHoklch(36.08% 0.09 313.8)
XYZxyz(6.1003, 4.3048, 11.0971)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D5E #3D5E2D
analogous
#352D5E #4E2D5E #5E2D56
triadic
#4E2D5E #5E4E2D #2D5E4E
tetradic
#4E2D5E #5E352D #3D5E2D #2D565E
square
#4E2D5E #5E352D #3D5E2D #2D565E
split-complementary
#4E2D5E #565E2D #2D5E35
monochromatic
#110A15 #2C1935 #4E2D5E #704187 #9257AF

Accessibility & contrast

On white

11.28
#4E2D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D5E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D5E#FFFFFF#000000##FFFFFF
##4E2D5E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223960
Deuteranopia (green-blind)
#2C3B5D
Tritanopia (blue-blind)
#4D3541
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2d5e;
/* rgb */ color: rgb(78, 45, 94);
/* oklch */ color: oklch(36.1% 0.090 313.8);
Tailwind
colors: {
  custom: {
    50: '#81678c',
    500: '#4e2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d5e;
$custom-light: #81678c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d5e",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 280.408,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36079,
    "c": 0.08986,
    "h": 313.8
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#4E2D5E
secondary
#6A9057
accent
#CB5D81
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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