#4E014C#4E014C

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

Color values

HEX#4E014C
RGBrgb(78, 1, 76)
HSLhsl(302, 97%, 15%)
HSVhsv(302, 99%, 31%)
CMYKcmyk(0%, 98.7%, 2.6%, 69.4%)
CIE-LABlab(16.32, 40.98, -24.46)
CIE-LCHlch(16.32, 47.73, 329.17°)
OKLaboklab(29.68% 0.1157 -0.0679)
OKLCHoklch(29.68% 0.134 329.6)
XYZxyz(4.4572, 2.1636, 7.0189)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E014C #014E03
analogous
#29014E #4E014C #4E0126
triadic
#4E014C #4C4E01 #014C4E
tetradic
#4E014C #4E2901 #014E03 #01264E
square
#4E014C #4E2901 #014E03 #01264E
split-complementary
#4E014C #264E01 #014E29
monochromatic
#1E001D #1E001D #4E014C #8A0287 #C703C2

Accessibility & contrast

On white

14.66
#4E014C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E014C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E014C
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E014C#FFFFFF#000000##FFFFFF
##4E014C1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#1C2C4A
Tritanopia (blue-blind)
#510F29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e014c;
/* rgb */ color: rgb(78, 1, 76);
/* oklch */ color: oklch(29.7% 0.134 329.6);
Tailwind
colors: {
  custom: {
    50: '#83507e',
    500: '#4e014c',
    950: '#000000',
  },
}
SCSS
$custom: #4e014c;
$custom-light: #83507e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e014c",
  "rgb": {
    "r": 78,
    "g": 1,
    "b": 76
  },
  "hsl": {
    "h": 301.558,
    "s": 97.468,
    "l": 15.49
  },
  "oklch": {
    "l": 0.29678,
    "c": 0.13414,
    "h": 329.6
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#4E014C
secondary
#1B901E
accent
#FF2E29
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B020A
muted
#7C787C

Preview Lab

Preview with #4E014C

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

Preview Lab → · Contrast checker → · Palette generator →

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