#4E1555#4E1555

#4E1555 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.120 H 323.1°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#4E1555
RGBrgb(78, 21, 85)
HSLhsl(293, 60%, 21%)
HSVhsv(293, 75%, 33%)
CMYKcmyk(8.2%, 75.3%, 0%, 66.7%)
CIE-LABlab(19.28, 35.91, -25.88)
CIE-LCHlch(19.28, 44.27, 324.23°)
OKLaboklab(31.97% 0.0962 -0.0721)
OKLCHoklch(31.97% 0.12 323.1)
XYZxyz(5.0496, 2.8122, 8.8694)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1555 #1C5515
analogous
#2E1555 #4E1555 #55153C
triadic
#4E1555 #554E15 #15554E
tetradic
#4E1555 #552E15 #1C5515 #153C55
square
#4E1555 #552E15 #1C5515 #153C55
split-complementary
#4E1555 #3C5515 #15552E
monochromatic
#170619 #210924 #4E1555 #7B2186 #A82DB7

Accessibility & contrast

On white

13.44
#4E1555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1555
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1555#FFFFFF#000000##FFFFFF
##4E15551.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A57
Deuteranopia (green-blind)
#1F3153
Tritanopia (blue-blind)
#4F2033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1555;
/* rgb */ color: rgb(78, 21, 85);
/* oklch */ color: oklch(32.0% 0.120 323.1);
Tailwind
colors: {
  custom: {
    50: '#825885',
    500: '#4e1555',
    950: '#000000',
  },
}
SCSS
$custom: #4e1555;
$custom-light: #825885;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1555",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 293.438,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.12028,
    "h": 323.1
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#4E1555
secondary
#428D39
accent
#E44456
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1555

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

Preview Lab → · Contrast checker → · Palette generator →

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