#4E2D52#4E2D52

#4E2D52 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 35.4% C 0.075 H 323.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#4E2D52
RGBrgb(78, 45, 82)
HSLhsl(294, 29%, 25%)
HSVhsv(294, 45%, 32%)
CMYKcmyk(4.9%, 45.1%, 0%, 67.8%)
CIE-LABlab(24.02, 22.10, -16.41)
CIE-LCHlch(24.02, 27.53, 323.41°)
OKLaboklab(35.4% 0.0598 -0.045)
OKLCHoklch(35.4% 0.075 323.1)
XYZxyz(5.6031, 4.1059, 8.4784)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2D52 #31522D
analogous
#3C2D52 #4E2D52 #522D43
triadic
#4E2D52 #524E2D #2D524E
tetradic
#4E2D52 #523C2D #31522D #2D4352
square
#4E2D52 #523C2D #31522D #2D4352
split-complementary
#4E2D52 #43522D #2D523C
monochromatic
#130B14 #28172A #4E2D52 #74437A #9958A1

Accessibility & contrast

On white

11.53
#4E2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2D52
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2D52#FFFFFF#000000##FFFFFF
##4E2D521.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293753
Deuteranopia (green-blind)
#323A51
Tritanopia (blue-blind)
#4F313B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e2d52;
/* rgb */ color: rgb(78, 45, 82);
/* oklch */ color: oklch(35.4% 0.075 323.1);
Tailwind
colors: {
  custom: {
    50: '#806782',
    500: '#4e2d52',
    950: '#000000',
  },
}
SCSS
$custom: #4e2d52;
$custom-light: #806782;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2d52",
  "rgb": {
    "r": 78,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 293.514,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.07484,
    "h": 323.1
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#4E2D52
secondary
#5C8457
accent
#C5626D
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060A
muted
#7C7A7C

Preview Lab

Preview with #4E2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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