#4E0A4A#4E0A4A

#4E0A4A is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.123 H 330.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4E0A4A
RGBrgb(78, 10, 74)
HSLhsl(304, 77%, 17%)
HSVhsv(304, 87%, 31%)
CMYKcmyk(0%, 87.2%, 5.1%, 69.4%)
CIE-LABlab(17.14, 37.86, -21.79)
CIE-LCHlch(17.14, 43.68, 330.08°)
OKLaboklab(30.21% 0.1078 -0.0602)
OKLCHoklch(30.21% 0.123 330.8)
XYZxyz(4.4865, 2.3316, 6.6910)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A4A #0A4E0E
analogous
#300A4E #4E0A4A #4E0A28
triadic
#4E0A4A #4A4E0A #0A4A4E
tetradic
#4E0A4A #4E300A #0A4E0E #0A284E
square
#4E0A4A #4E300A #0A4E0E #0A284E
split-complementary
#4E0A4A #284E0A #0A4E30
monochromatic
#1B031A #1B031A #4E0A4A #84117D #BA18B1

Accessibility & contrast

On white

14.32
#4E0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0A4A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A4A#FFFFFF#000000##FFFFFF
##4E0A4A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#212D48
Tritanopia (blue-blind)
#51142A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0a4a;
/* rgb */ color: rgb(78, 10, 74);
/* oklch */ color: oklch(30.2% 0.123 330.8);
Tailwind
colors: {
  custom: {
    50: '#82537d',
    500: '#4e0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a4a;
$custom-light: #82537d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a4a",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 303.529,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30213,
    "c": 0.12348,
    "h": 330.8
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#4E0A4A
secondary
#298B2F
accent
#F43F34
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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