#4E1451#4E1451

#4E1451 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.118 H 325.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1451
RGBrgb(78, 20, 81)
HSLhsl(297, 60%, 20%)
HSVhsv(297, 75%, 32%)
CMYKcmyk(3.7%, 75.3%, 0%, 68.2%)
CIE-LABlab(18.86, 35.53, -23.83)
CIE-LCHlch(18.86, 42.79, 326.15°)
OKLaboklab(31.59% 0.0975 -0.0662)
OKLCHoklch(31.59% 0.118 325.8)
XYZxyz(4.8771, 2.7144, 8.0500)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1451 #175114
analogous
#301451 #4E1451 #511436
triadic
#4E1451 #514E14 #14514E
tetradic
#4E1451 #513014 #175114 #143651
square
#4E1451 #513014 #175114 #143651
split-complementary
#4E1451 #365114 #145130
monochromatic
#180619 #1F0820 #4E1451 #7D2082 #AD2CB3

Accessibility & contrast

On white

13.61
#4E1451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1451
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1451#FFFFFF#000000##FFFFFF
##4E14511.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072953
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#501E31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1451;
/* rgb */ color: rgb(78, 20, 81);
/* oklch */ color: oklch(31.6% 0.118 325.8);
Tailwind
colors: {
  custom: {
    50: '#825882',
    500: '#4e1451',
    950: '#000000',
  },
}
SCSS
$custom: #4e1451;
$custom-light: #825882;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1451",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 297.049,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3159,
    "c": 0.11782,
    "h": 325.8
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#4E1451
secondary
#3C8938
accent
#E4444C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E1451

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

Preview Lab → · Contrast checker → · Palette generator →

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