#4E1F50#4E1F50

#4E1F50 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.099 H 325.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#4E1F50
RGBrgb(78, 31, 80)
HSLhsl(298, 44%, 22%)
HSVhsv(298, 61%, 31%)
CMYKcmyk(2.5%, 61.2%, 0%, 68.6%)
CIE-LABlab(20.75, 29.94, -20.18)
CIE-LCHlch(20.75, 36.11, 326.02°)
OKLaboklab(32.94% 0.0824 -0.0557)
OKLCHoklch(32.94% 0.099 325.9)
XYZxyz(5.0797, 3.1792, 7.9339)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F50 #21501F
analogous
#361F50 #4E1F50 #501F3A
triadic
#4E1F50 #504E1F #1F504E
tetradic
#4E1F50 #50361F #21501F #1F3A50
square
#4E1F50 #50361F #21501F #1F3A50
split-complementary
#4E1F50 #3A501F #1F5036
monochromatic
#160916 #230E24 #4E1F50 #79307C #A441A8

Accessibility & contrast

On white

12.84
#4E1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F50
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F50#FFFFFF#000000##FFFFFF
##4E1F501.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#28344F
Tritanopia (blue-blind)
#502534
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1f50;
/* rgb */ color: rgb(78, 31, 80);
/* oklch */ color: oklch(32.9% 0.099 325.9);
Tailwind
colors: {
  custom: {
    50: '#815e81',
    500: '#4e1f50',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f50;
$custom-light: #815e81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f50",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 297.551,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32938,
    "c": 0.09944,
    "h": 325.9
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#4E1F50
secondary
#498546
accent
#D45459
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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