#4E105E#4E105E

#4E105E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.135 H 318.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4E105E
RGBrgb(78, 16, 94)
HSLhsl(288, 71%, 22%)
HSVhsv(288, 83%, 37%)
CMYKcmyk(17%, 83%, 0%, 63.1%)
CIE-LABlab(19.22, 39.78, -31.99)
CIE-LCHlch(19.22, 51.05, 321.20°)
OKLaboklab(32.13% 0.1007 -0.09)
OKLCHoklch(32.13% 0.135 318.2)
XYZxyz(5.3473, 2.7987, 10.8460)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E105E #205E10
analogous
#27105E #4E105E #5E1047
triadic
#4E105E #5E4E10 #105E4E
tetradic
#4E105E #5E2710 #205E10 #10475E
square
#4E105E #5E2710 #205E10 #10475E
split-complementary
#4E105E #475E10 #105E27
monochromatic
#16041A #23072A #4E105E #791992 #A522C7

Accessibility & contrast

On white

13.46
#4E105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E105E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E105E#FFFFFF#000000##FFFFFF
##4E105E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#14305C
Tritanopia (blue-blind)
#4E2137
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e105e;
/* rgb */ color: rgb(78, 16, 94);
/* oklch */ color: oklch(32.1% 0.135 318.2);
Tailwind
colors: {
  custom: {
    50: '#83578c',
    500: '#4e105e',
    950: '#000000',
  },
}
SCSS
$custom: #4e105e;
$custom-light: #83578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e105e",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 287.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.13504,
    "h": 318.2
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#4E105E
secondary
#479733
accent
#EE3A5F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E105E

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

Preview Lab → · Contrast checker → · Palette generator →

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