#4E2D5A#4E2D5A

#4E2D5A is a dark, moderate purple. Relative luminance 0.042; OKLCH L 35.8% C 0.085 H 316.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4E2D5A
RGBrgb(78, 45, 90)
HSLhsl(284, 33%, 26%)
HSVhsv(284, 50%, 35%)
CMYKcmyk(13.3%, 50%, 0%, 64.7%)
CIE-LABlab(24.43, 23.98, -21.05)
CIE-LCHlch(24.43, 31.91, 318.72°)
OKLaboklab(35.84% 0.0615 -0.0583)
OKLCHoklch(35.84% 0.085 316.5)
XYZxyz(5.9255, 4.2348, 10.1761)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D5A #395A2D
analogous
#382D5A #4E2D5A #5A2D50
triadic
#4E2D5A #5A4E2D #2D5A4E
tetradic
#4E2D5A #5A382D #395A2D #2D505A
square
#4E2D5A #5A382D #395A2D #2D505A
split-complementary
#4E2D5A #505A2D #2D5A38
monochromatic
#120A14 #2B1931 #4E2D5A #714183 #9457AB

Accessibility & contrast

On white

11.37
#4E2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D5A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D5A#FFFFFF#000000##FFFFFF
##4E2D5A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#2E3B59
Tritanopia (blue-blind)
#4E333F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d5a;
/* rgb */ color: rgb(78, 45, 90);
/* oklch */ color: oklch(35.8% 0.085 316.5);
Tailwind
colors: {
  custom: {
    50: '#816789',
    500: '#4e2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d5a;
$custom-light: #816789;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d5a",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 284,
    "s": 33.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35842,
    "c": 0.08474,
    "h": 316.5
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#4E2D5A
secondary
#658C57
accent
#C95E7B
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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