#4E104D#4E104D

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

Color values

HEX#4E104D
RGBrgb(78, 16, 77)
HSLhsl(301, 66%, 18%)
HSVhsv(301, 79%, 31%)
CMYKcmyk(0%, 79.5%, 1.3%, 69.4%)
CIE-LABlab(18.04, 36.37, -22.42)
CIE-LCHlch(18.04, 42.73, 328.35°)
OKLaboklab(30.92% 0.102 -0.062)
OKLCHoklch(30.92% 0.119 328.7)
XYZxyz(4.6667, 2.5265, 7.2616)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E104D #104E11
analogous
#30104E #4E104D #4E102E
triadic
#4E104D #4D4E10 #104D4E
tetradic
#4E104D #4E3010 #104E11 #102E4E
square
#4E104D #4E3010 #104E11 #102E4E
split-complementary
#4E104D #2E4E10 #104E30
monochromatic
#190519 #1B061B #4E104D #811A7F #B425B1

Accessibility & contrast

On white

13.95
#4E104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E104D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E104D#FFFFFF#000000##FFFFFF
##4E104D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06274F
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#51192D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e104d;
/* rgb */ color: rgb(78, 16, 77);
/* oklch */ color: oklch(30.9% 0.119 328.7);
Tailwind
colors: {
  custom: {
    50: '#82567f',
    500: '#4e104d',
    950: '#000000',
  },
}
SCSS
$custom: #4e104d;
$custom-light: #82567f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e104d",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 300.968,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30916,
    "c": 0.11939,
    "h": 328.7
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#4E104D
secondary
#328833
accent
#E9423F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E104D

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

Preview Lab → · Contrast checker → · Palette generator →

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