#4E1A60#4E1A60

#4E1A60 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.124 H 316.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4E1A60
RGBrgb(78, 26, 96)
HSLhsl(285, 57%, 24%)
HSVhsv(285, 73%, 38%)
CMYKcmyk(18.7%, 72.9%, 0%, 62.4%)
CIE-LABlab(20.84, 36.02, -30.71)
CIE-LCHlch(20.84, 47.34, 319.55°)
OKLaboklab(33.33% 0.0896 -0.0863)
OKLCHoklch(33.33% 0.124 316.1)
XYZxyz(5.6223, 3.2032, 11.3862)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A60 #2C601A
analogous
#2B1A60 #4E1A60 #601A4F
triadic
#4E1A60 #604E1A #1A604E
tetradic
#4E1A60 #602B1A #2C601A #1A4F60
square
#4E1A60 #602B1A #2C601A #1A4F60
split-complementary
#4E1A60 #4F601A #1A602B
monochromatic
#140718 #270D30 #4E1A60 #752790 #9C34C0

Accessibility & contrast

On white

12.80
#4E1A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A60
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A60#FFFFFF#000000##FFFFFF
##4E1A601.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#1A345E
Tritanopia (blue-blind)
#4D283B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1a60;
/* rgb */ color: rgb(78, 26, 96);
/* oklch */ color: oklch(33.3% 0.124 316.1);
Tailwind
colors: {
  custom: {
    50: '#825b8d',
    500: '#4e1a60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a60;
$custom-light: #825b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a60",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 284.571,
    "s": 57.377,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33334,
    "c": 0.12442,
    "h": 316.1
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#4E1A60
secondary
#569640
accent
#E1476F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1A60

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

Preview Lab → · Contrast checker → · Palette generator →

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