#4E2C5D#4E2C5D

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

Color values

HEX#4E2C5D
RGBrgb(78, 44, 93)
HSLhsl(282, 36%, 27%)
HSVhsv(282, 53%, 36%)
CMYKcmyk(16.1%, 52.7%, 0%, 63.5%)
CIE-LABlab(24.36, 25.33, -23.14)
CIE-LCHlch(24.36, 34.30, 317.58°)
OKLaboklab(35.84% 0.0636 -0.0643)
OKLCHoklch(35.84% 0.09 314.7)
XYZxyz(6.0180, 4.2115, 10.8497)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2C5D #3B5D2C
analogous
#362C5D #4E2C5D #5D2C54
triadic
#4E2C5D #5D4E2C #2C5D4E
tetradic
#4E2C5D #5D362C #3B5D2C #2C545D
square
#4E2C5D #5D362C #3B5D2C #2C545D
split-complementary
#4E2C5D #545D2C #2C5D36
monochromatic
#110A15 #2B1833 #4E2C5D #714087 #9355AF

Accessibility & contrast

On white

11.40
#4E2C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E2C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2C5D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2C5D#FFFFFF#000000##FFFFFF
##4E2C5D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e2c5d;
/* rgb */ color: rgb(78, 44, 93);
/* oklch */ color: oklch(35.8% 0.090 314.7);
Tailwind
colors: {
  custom: {
    50: '#81668b',
    500: '#4e2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e2c5d;
$custom-light: #81668b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2c5d",
  "rgb": {
    "r": 78,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 281.633,
    "s": 35.766,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.09048,
    "h": 314.7
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#4E2C5D
secondary
#678F56
accent
#CC5C7E
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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