#4E1354#4E1354

#4E1354 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.122 H 323.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4E1354
RGBrgb(78, 19, 84)
HSLhsl(294, 63%, 20%)
HSVhsv(294, 77%, 33%)
CMYKcmyk(7.1%, 77.4%, 0%, 67.1%)
CIE-LABlab(18.91, 36.56, -25.79)
CIE-LCHlch(18.91, 44.74, 324.80°)
OKLaboklab(31.69% 0.0986 -0.0719)
OKLCHoklch(31.69% 0.122 323.9)
XYZxyz(4.9749, 2.7258, 8.6499)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1354 #195413
analogous
#2E1354 #4E1354 #541339
triadic
#4E1354 #544E13 #13544E
tetradic
#4E1354 #542E13 #195413 #133954
square
#4E1354 #542E13 #195413 #133954
split-complementary
#4E1354 #395413 #13542E
monochromatic
#170619 #200822 #4E1354 #7C1E86 #AB2AB8

Accessibility & contrast

On white

13.59
#4E1354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1354
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1354#FFFFFF#000000##FFFFFF
##4E13541.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012956
Deuteranopia (green-blind)
#1F3052
Tritanopia (blue-blind)
#501E32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1354;
/* rgb */ color: rgb(78, 19, 84);
/* oklch */ color: oklch(31.7% 0.122 323.9);
Tailwind
colors: {
  custom: {
    50: '#825784',
    500: '#4e1354',
    950: '#000000',
  },
}
SCSS
$custom: #4e1354;
$custom-light: #825784;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1354",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 294.462,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31688,
    "c": 0.12199,
    "h": 323.9
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#4E1354
secondary
#3E8C36
accent
#E64251
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1354

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

Preview Lab → · Contrast checker → · Palette generator →

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