#4E1651#4E1651

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

Color values

HEX#4E1651
RGBrgb(78, 22, 81)
HSLhsl(297, 57%, 20%)
HSVhsv(297, 73%, 32%)
CMYKcmyk(3.7%, 72.8%, 0%, 68.2%)
CIE-LABlab(19.17, 34.66, -23.34)
CIE-LCHlch(19.17, 41.78, 326.04°)
OKLaboklab(31.81% 0.095 -0.0648)
OKLCHoklch(31.81% 0.115 325.7)
XYZxyz(4.9139, 2.7879, 8.0623)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1651 #195116
analogous
#301651 #4E1651 #511636
triadic
#4E1651 #514E16 #16514E
tetradic
#4E1651 #513016 #195116 #163651
square
#4E1651 #513016 #195116 #163651
split-complementary
#4E1651 #365116 #165130
monochromatic
#170718 #200921 #4E1651 #7C2381 #AB30B1

Accessibility & contrast

On white

13.48
#4E1651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1651
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1651#FFFFFF#000000##FFFFFF
##4E16511.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2A53
Deuteranopia (green-blind)
#22314F
Tritanopia (blue-blind)
#501F31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1651;
/* rgb */ color: rgb(78, 22, 81);
/* oklch */ color: oklch(31.8% 0.115 325.7);
Tailwind
colors: {
  custom: {
    50: '#825982',
    500: '#4e1651',
    950: '#000000',
  },
}
SCSS
$custom: #4e1651;
$custom-light: #825982;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1651",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 296.949,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31814,
    "c": 0.115,
    "h": 325.7
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#4E1651
secondary
#3E883A
accent
#E1474F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1651

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

Preview Lab → · Contrast checker → · Palette generator →

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