#4E104C#4E104C

#4E104C is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.9% C 0.118 H 329.4°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#4E104C
RGBrgb(78, 16, 76)
HSLhsl(302, 66%, 18%)
HSVhsv(302, 79%, 31%)
CMYKcmyk(0%, 79.5%, 2.6%, 69.4%)
CIE-LABlab(17.97, 36.19, -21.84)
CIE-LCHlch(17.97, 42.26, 328.89°)
OKLaboklab(30.85% 0.102 -0.0603)
OKLCHoklch(30.85% 0.119 329.4)
XYZxyz(4.6316, 2.5124, 7.0771)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E104C #104E12
analogous
#31104E #4E104C #4E102D
triadic
#4E104C #4C4E10 #104C4E
tetradic
#4E104C #4E3110 #104E12 #102D4E
square
#4E104C #4E3110 #104E12 #102D4E
split-complementary
#4E104C #2D4E10 #104E31
monochromatic
#190519 #1B061B #4E104C #811A7D #B425AF

Accessibility & contrast

On white

13.98
#4E104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4E104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E104C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E104C#FFFFFF#000000##FFFFFF
##4E104C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274E
Deuteranopia (green-blind)
#222F4A
Tritanopia (blue-blind)
#51192D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e104c;
/* rgb */ color: rgb(78, 16, 76);
/* oklch */ color: oklch(30.9% 0.118 329.4);
Tailwind
colors: {
  custom: {
    50: '#82567e',
    500: '#4e104c',
    950: '#000000',
  },
}
SCSS
$custom: #4e104c;
$custom-light: #82567e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e104c",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 301.935,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30851,
    "c": 0.1185,
    "h": 329.4
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#4E104C
secondary
#328835
accent
#E9443F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E104C

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

Preview Lab → · Contrast checker → · Palette generator →

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