#4E1652#4E1652

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

Color values

HEX#4E1652
RGBrgb(78, 22, 82)
HSLhsl(296, 58%, 20%)
HSVhsv(296, 73%, 32%)
CMYKcmyk(4.9%, 73.2%, 0%, 67.8%)
CIE-LABlab(19.24, 34.86, -23.92)
CIE-LCHlch(19.24, 42.27, 325.55°)
OKLaboklab(31.88% 0.0951 -0.0664)
OKLCHoklch(31.88% 0.116 325.1)
XYZxyz(4.9517, 2.8030, 8.2612)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1652 #1A5216
analogous
#301652 #4E1652 #521638
triadic
#4E1652 #524E16 #16524E
tetradic
#4E1652 #523016 #1A5216 #163852
square
#4E1652 #523016 #1A5216 #163852
split-complementary
#4E1652 #385216 #165230
monochromatic
#170618 #200922 #4E1652 #7C2382 #AA30B3

Accessibility & contrast

On white

13.46
#4E1652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1652
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1652#FFFFFF#000000##FFFFFF
##4E16521.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A54
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#501F32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1652;
/* rgb */ color: rgb(78, 22, 82);
/* oklch */ color: oklch(31.9% 0.116 325.1);
Tailwind
colors: {
  custom: {
    50: '#825983',
    500: '#4e1652',
    950: '#000000',
  },
}
SCSS
$custom: #4e1652;
$custom-light: #825983;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1652",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 296,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3188,
    "c": 0.11596,
    "h": 325.1
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#4E1652
secondary
#40893A
accent
#E14751
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1652

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

Preview Lab → · Contrast checker → · Palette generator →

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