#4E2D5D#4E2D5D

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

Color values

HEX#4E2D5D
RGBrgb(78, 45, 93)
HSLhsl(281, 35%, 27%)
HSVhsv(281, 52%, 36%)
CMYKcmyk(16.1%, 51.6%, 0%, 63.5%)
CIE-LABlab(24.60, 24.71, -22.76)
CIE-LCHlch(24.60, 33.59, 317.35°)
OKLaboklab(36.02% 0.062 -0.0633)
OKLCHoklch(36.02% 0.089 314.4)
XYZxyz(6.0557, 4.2869, 10.8623)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D5D #3C5D2D
analogous
#362D5D #4E2D5D #5D2D54
triadic
#4E2D5D #5D4E2D #2D5D4E
tetradic
#4E2D5D #5D362D #3C5D2D #2D545D
square
#4E2D5D #5D362D #3C5D2D #2D545D
split-complementary
#4E2D5D #545D2D #2D5D36
monochromatic
#110A15 #2B1934 #4E2D5D #714186 #9257AE

Accessibility & contrast

On white

11.31
#4E2D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E2D5D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D5D#FFFFFF#000000##FFFFFF
##4E2D5D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385F
Deuteranopia (green-blind)
#2C3B5C
Tritanopia (blue-blind)
#4D3440
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2d5d;
/* rgb */ color: rgb(78, 45, 93);
/* oklch */ color: oklch(36.0% 0.089 314.4);
Tailwind
colors: {
  custom: {
    50: '#81678b',
    500: '#4e2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d5d;
$custom-light: #81678b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d5d",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 281.25,
    "s": 34.783,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36019,
    "c": 0.08858,
    "h": 314.4
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#4E2D5D
secondary
#688F57
accent
#CB5D7F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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