#4E1E5A#4E1E5A

#4E1E5A is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.4% C 0.112 H 319.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#4E1E5A
RGBrgb(78, 30, 90)
HSLhsl(288, 50%, 24%)
HSVhsv(288, 67%, 35%)
CMYKcmyk(13.3%, 66.7%, 0%, 64.7%)
CIE-LABlab(21.16, 32.66, -26.23)
CIE-LCHlch(21.16, 41.89, 321.24°)
OKLaboklab(33.43% 0.0846 -0.0732)
OKLCHoklch(33.43% 0.112 319.1)
XYZxyz(5.4514, 3.2867, 10.0181)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E5A #2A5A1E
analogous
#301E5A #4E1E5A #5A1E48
triadic
#4E1E5A #5A4E1E #1E5A4E
tetradic
#4E1E5A #5A301E #2A5A1E #1E485A
square
#4E1E5A #5A301E #2A5A1E #1E485A
split-complementary
#4E1E5A #485A1E #1E5A30
monochromatic
#140817 #260F2C #4E1E5A #762D88 #9E3DB6

Accessibility & contrast

On white

12.67
#4E1E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E5A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E5A#FFFFFF#000000##FFFFFF
##4E1E5A1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E305C
Deuteranopia (green-blind)
#223458
Tritanopia (blue-blind)
#4E2839
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1e5a;
/* rgb */ color: rgb(78, 30, 90);
/* oklch */ color: oklch(33.4% 0.112 319.1);
Tailwind
colors: {
  custom: {
    50: '#825d89',
    500: '#4e1e5a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e5a;
$custom-light: #825d89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e5a",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 90
  },
  "hsl": {
    "h": 288,
    "s": 50,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33433,
    "c": 0.11186,
    "h": 319.1
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#4E1E5A
secondary
#548F45
accent
#DA4E6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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