#4E1551#4E1551

#4E1551 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.116 H 325.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4E1551
RGBrgb(78, 21, 81)
HSLhsl(297, 59%, 20%)
HSVhsv(297, 74%, 32%)
CMYKcmyk(3.7%, 74.1%, 0%, 68.2%)
CIE-LABlab(19.02, 35.10, -23.59)
CIE-LCHlch(19.02, 42.29, 326.10°)
OKLaboklab(31.7% 0.0963 -0.0655)
OKLCHoklch(31.7% 0.116 325.8)
XYZxyz(4.8952, 2.7504, 8.0560)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1551 #185115
analogous
#301551 #4E1551 #511536
triadic
#4E1551 #514E15 #15514E
tetradic
#4E1551 #513015 #185115 #153651
square
#4E1551 #513015 #185115 #153651
split-complementary
#4E1551 #365115 #155130
monochromatic
#170618 #1F0820 #4E1551 #7D2282 #AC2EB2

Accessibility & contrast

On white

13.55
#4E1551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1551 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1551
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1551#FFFFFF#000000##FFFFFF
##4E15511.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A53
Deuteranopia (green-blind)
#22314F
Tritanopia (blue-blind)
#501E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1551;
/* rgb */ color: rgb(78, 21, 81);
/* oklch */ color: oklch(31.7% 0.116 325.8);
Tailwind
colors: {
  custom: {
    50: '#825882',
    500: '#4e1551',
    950: '#000000',
  },
}
SCSS
$custom: #4e1551;
$custom-light: #825882;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1551",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 297,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.317,
    "c": 0.11643,
    "h": 325.8
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#4E1551
secondary
#3D8939
accent
#E2464E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1551

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

Preview Lab → · Contrast checker → · Palette generator →

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