#4E105F#4E105F

#4E105F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.136 H 317.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#4E105F
RGBrgb(78, 16, 95)
HSLhsl(287, 71%, 22%)
HSVhsv(287, 83%, 37%)
CMYKcmyk(17.9%, 83.2%, 0%, 62.7%)
CIE-LABlab(19.29, 39.99, -32.53)
CIE-LCHlch(19.29, 51.55, 320.87°)
OKLaboklab(32.21% 0.1005 -0.0916)
OKLCHoklch(32.21% 0.136 317.7)
XYZxyz(5.3924, 2.8168, 11.0839)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E105F #215F10
analogous
#27105F #4E105F #5F1049
triadic
#4E105F #5F4E10 #105F4E
tetradic
#4E105F #5F2710 #215F10 #10495F
square
#4E105F #5F2710 #215F10 #10495F
split-complementary
#4E105F #495F10 #105F27
monochromatic
#16041A #23072B #4E105F #791993 #A422C8

Accessibility & contrast

On white

13.43
#4E105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E105F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E105F#FFFFFF#000000##FFFFFF
##4E105F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#4D2237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e105f;
/* rgb */ color: rgb(78, 16, 95);
/* oklch */ color: oklch(32.2% 0.136 317.7);
Tailwind
colors: {
  custom: {
    50: '#83578d',
    500: '#4e105f',
    950: '#000000',
  },
}
SCSS
$custom: #4e105f;
$custom-light: #83578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e105f",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 287.089,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32212,
    "c": 0.13598,
    "h": 317.7
  },
  "luminance": 0.02817
}

Semantic roles & 50–950 ramp

primary
#4E105F
secondary
#499833
accent
#EE3A61
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E105F

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

Preview Lab → · Contrast checker → · Palette generator →

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