#4E0A4B#4E0A4B

#4E0A4B is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.3% C 0.124 H 330.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#4E0A4B
RGBrgb(78, 10, 75)
HSLhsl(303, 77%, 17%)
HSVhsv(303, 87%, 31%)
CMYKcmyk(0%, 87.2%, 3.8%, 69.4%)
CIE-LABlab(17.20, 38.04, -22.37)
CIE-LCHlch(17.20, 44.13, 329.54°)
OKLaboklab(30.28% 0.1078 -0.0619)
OKLCHoklch(30.28% 0.124 330.2)
XYZxyz(4.5204, 2.3451, 6.8698)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A4B #0A4E0D
analogous
#2F0A4E #4E0A4B #4E0A29
triadic
#4E0A4B #4B4E0A #0A4B4E
tetradic
#4E0A4B #4E2F0A #0A4E0D #0A294E
square
#4E0A4B #4E2F0A #0A4E0D #0A294E
split-complementary
#4E0A4B #294E0A #0A4E2F
monochromatic
#1B031A #1B031A #4E0A4B #84117F #BA18B3

Accessibility & contrast

On white

14.30
#4E0A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0A4B
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A4B#FFFFFF#000000##FFFFFF
##4E0A4B1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254D
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#51142B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0a4b;
/* rgb */ color: rgb(78, 10, 75);
/* oklch */ color: oklch(30.3% 0.124 330.2);
Tailwind
colors: {
  custom: {
    50: '#82537d',
    500: '#4e0a4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a4b;
$custom-light: #82537d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a4b",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 75
  },
  "hsl": {
    "h": 302.647,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.12431,
    "h": 330.2
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#4E0A4B
secondary
#298B2E
accent
#F43C34
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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