#4E0A48#4E0A48

#4E0A48 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.122 H 332.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4E0A48
RGBrgb(78, 10, 72)
HSLhsl(305, 77%, 17%)
HSVhsv(305, 87%, 31%)
CMYKcmyk(0%, 87.2%, 7.7%, 69.4%)
CIE-LABlab(17.01, 37.51, -20.61)
CIE-LCHlch(17.01, 42.80, 331.22°)
OKLaboklab(30.08% 0.1078 -0.0567)
OKLCHoklch(30.08% 0.122 332.2)
XYZxyz(4.4201, 2.3050, 6.3418)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A48 #0A4E10
analogous
#320A4E #4E0A48 #4E0A26
triadic
#4E0A48 #484E0A #0A484E
tetradic
#4E0A48 #4E320A #0A4E10 #0A264E
square
#4E0A48 #4E320A #0A4E10 #0A264E
split-complementary
#4E0A48 #264E0A #0A4E32
monochromatic
#1B0319 #1B0319 #4E0A48 #84117A #BA18AC

Accessibility & contrast

On white

14.37
#4E0A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E0A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0A48
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A48#FFFFFF#000000##FFFFFF
##4E0A481.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244A
Deuteranopia (green-blind)
#222D46
Tritanopia (blue-blind)
#521329
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0a48;
/* rgb */ color: rgb(78, 10, 72);
/* oklch */ color: oklch(30.1% 0.122 332.2);
Tailwind
colors: {
  custom: {
    50: '#82537b',
    500: '#4e0a48',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a48;
$custom-light: #82537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a48",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 72
  },
  "hsl": {
    "h": 305.294,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30082,
    "c": 0.12184,
    "h": 332.2
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#4E0A48
secondary
#298B32
accent
#F44534
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0A48

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

Preview Lab → · Contrast checker → · Palette generator →

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