#4E1A51#4E1A51

#4E1A51 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 325.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1A51
RGBrgb(78, 26, 81)
HSLhsl(297, 51%, 21%)
HSVhsv(297, 68%, 32%)
CMYKcmyk(3.7%, 67.9%, 0%, 68.2%)
CIE-LABlab(19.85, 32.76, -22.26)
CIE-LCHlch(19.85, 39.61, 325.80°)
OKLaboklab(32.31% 0.0898 -0.0617)
OKLCHoklch(32.31% 0.109 325.5)
XYZxyz(4.9964, 2.9529, 8.0898)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A51 #1D511A
analogous
#321A51 #4E1A51 #511A38
triadic
#4E1A51 #514E1A #1A514E
tetradic
#4E1A51 #51321A #1D511A #1A3851
square
#4E1A51 #51321A #1D511A #1A3851
split-complementary
#4E1A51 #38511A #1A5132
monochromatic
#160717 #210B23 #4E1A51 #7B297F #A738AE

Accessibility & contrast

On white

13.20
#4E1A51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1A51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A51
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A51#FFFFFF#000000##FFFFFF
##4E1A511.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C53
Deuteranopia (green-blind)
#253250
Tritanopia (blue-blind)
#502233
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a51;
/* rgb */ color: rgb(78, 26, 81);
/* oklch */ color: oklch(32.3% 0.109 325.5);
Tailwind
colors: {
  custom: {
    50: '#825b82',
    500: '#4e1a51',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a51;
$custom-light: #825b82;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a51",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 81
  },
  "hsl": {
    "h": 296.727,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.1089,
    "h": 325.5
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#4E1A51
secondary
#448740
accent
#DB4D55
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A51

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

Preview Lab → · Contrast checker → · Palette generator →

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