#4E014D#4E014D

#4E014D is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.7% C 0.135 H 329.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#4E014D
RGBrgb(78, 1, 77)
HSLhsl(301, 97%, 15%)
HSVhsv(301, 99%, 31%)
CMYKcmyk(0%, 98.7%, 1.3%, 69.4%)
CIE-LABlab(16.39, 41.15, -25.04)
CIE-LCHlch(16.39, 48.17, 328.68°)
OKLaboklab(29.75% 0.1156 -0.0695)
OKLCHoklch(29.75% 0.135 329)
XYZxyz(4.4923, 2.1776, 7.2035)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E014D #014E02
analogous
#28014E #4E014D #4E0126
triadic
#4E014D #4D4E01 #014D4E
tetradic
#4E014D #4E2801 #014E02 #01264E
square
#4E014D #4E2801 #014E02 #01264E
split-complementary
#4E014D #264E01 #014E28
monochromatic
#1E001E #1E001E #4E014D #8A0289 #C703C4

Accessibility & contrast

On white

14.63
#4E014D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E014D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E014D
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E014D#FFFFFF#000000##FFFFFF
##4E014D1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#1C2C4B
Tritanopia (blue-blind)
#51102A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e014d;
/* rgb */ color: rgb(78, 1, 77);
/* oklch */ color: oklch(29.7% 0.135 329.0);
Tailwind
colors: {
  custom: {
    50: '#83517f',
    500: '#4e014d',
    950: '#000000',
  },
}
SCSS
$custom: #4e014d;
$custom-light: #83517f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e014d",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 77
  },
  "hsl": {
    "h": 300.779,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.13491,
    "h": 329
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#4E014D
secondary
#1B901D
accent
#FF2C29
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B020A
muted
#7C787C

Preview Lab

Preview with #4E014D

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

Preview Lab → · Contrast checker → · Palette generator →

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