#4E0D4C#4E0D4C

#4E0D4C is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.122 H 329.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4E0D4C
RGBrgb(78, 13, 76)
HSLhsl(302, 71%, 18%)
HSVhsv(302, 83%, 31%)
CMYKcmyk(0%, 83.3%, 2.6%, 69.4%)
CIE-LABlab(17.60, 37.27, -22.43)
CIE-LCHlch(17.60, 43.50, 328.95°)
OKLaboklab(30.58% 0.1051 -0.062)
OKLCHoklch(30.58% 0.122 329.4)
XYZxyz(4.5903, 2.4297, 7.0633)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D4C #0D4E0F
analogous
#2F0D4E #4E0D4C #4E0D2B
triadic
#4E0D4C #4C4E0D #0D4C4E
tetradic
#4E0D4C #4E2F0D #0D4E0F #0D2B4E
square
#4E0D4C #4E2F0D #0D4E0F #0D2B4E
split-complementary
#4E0D4C #2B4E0D #0D4E2F
monochromatic
#1A041A #1A041A #4E0D4C #82167F #B71EB2

Accessibility & contrast

On white

14.13
#4E0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4E0D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0D4C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D4C#FFFFFF#000000##FFFFFF
##4E0D4C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264E
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#51172C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0d4c;
/* rgb */ color: rgb(78, 13, 76);
/* oklch */ color: oklch(30.6% 0.122 329.4);
Tailwind
colors: {
  custom: {
    50: '#82557e',
    500: '#4e0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d4c;
$custom-light: #82557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d4c",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 301.846,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30581,
    "c": 0.12203,
    "h": 329.4
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#4E0D4C
secondary
#2E8931
accent
#EE3F3A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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