#4E1552#4E1552

#4E1552 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.117 H 325.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4E1552
RGBrgb(78, 21, 82)
HSLhsl(296, 59%, 20%)
HSVhsv(296, 74%, 32%)
CMYKcmyk(4.9%, 74.4%, 0%, 67.8%)
CIE-LABlab(19.08, 35.30, -24.17)
CIE-LCHlch(19.08, 42.78, 325.61°)
OKLaboklab(31.77% 0.0963 -0.0671)
OKLCHoklch(31.77% 0.117 325.1)
XYZxyz(4.9329, 2.7655, 8.2550)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1552 #195215
analogous
#301552 #4E1552 #521537
triadic
#4E1552 #524E15 #15524E
tetradic
#4E1552 #523015 #195215 #153752
square
#4E1552 #523015 #195215 #153752
split-complementary
#4E1552 #375215 #155230
monochromatic
#170618 #200921 #4E1552 #7C2183 #AB2EB3

Accessibility & contrast

On white

13.52
#4E1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1552
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1552#FFFFFF#000000##FFFFFF
##4E15521.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#213150
Tritanopia (blue-blind)
#501F31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1552;
/* rgb */ color: rgb(78, 21, 82);
/* oklch */ color: oklch(31.8% 0.117 325.1);
Tailwind
colors: {
  custom: {
    50: '#825883',
    500: '#4e1552',
    950: '#000000',
  },
}
SCSS
$custom: #4e1552;
$custom-light: #825883;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1552",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 296.066,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.11738,
    "h": 325.1
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#4E1552
secondary
#3E8A39
accent
#E24550
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1552

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

Preview Lab → · Contrast checker → · Palette generator →

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