#4E0C51#4E0C51

#4E0C51 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.127 H 326.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#4E0C51
RGBrgb(78, 12, 81)
HSLhsl(297, 74%, 18%)
HSVhsv(297, 85%, 32%)
CMYKcmyk(3.7%, 85.2%, 0%, 68.2%)
CIE-LABlab(17.81, 38.53, -25.50)
CIE-LCHlch(17.81, 46.20, 326.50°)
OKLaboklab(30.84% 0.1058 -0.071)
OKLCHoklch(30.84% 0.127 326.1)
XYZxyz(4.7585, 2.4771, 8.0105)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C51 #0F510C
analogous
#2B0C51 #4E0C51 #510C31
triadic
#4E0C51 #514E0C #0C514E
tetradic
#4E0C51 #512B0C #0F510C #0C3151
square
#4E0C51 #512B0C #0F510C #0C3151
split-complementary
#4E0C51 #31510C #0C512B
monochromatic
#1A041B #1B041C #4E0C51 #811486 #B51CBC

Accessibility & contrast

On white

14.04
#4E0C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E0C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C51
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C51#FFFFFF#000000##FFFFFF
##4E0C511.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#1D2E4F
Tritanopia (blue-blind)
#50192F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0c51;
/* rgb */ color: rgb(78, 12, 81);
/* oklch */ color: oklch(30.8% 0.127 326.1);
Tailwind
colors: {
  custom: {
    50: '#825482',
    500: '#4e0c51',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c51;
$custom-light: #825482;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c51",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 297.391,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30842,
    "c": 0.12742,
    "h": 326.1
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#4E0C51
secondary
#318C2C
accent
#F1373F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0C51

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

Preview Lab → · Contrast checker → · Palette generator →

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