#4E105C#4E105C

#4E105C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.133 H 319.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#4E105C
RGBrgb(78, 16, 92)
HSLhsl(289, 70%, 21%)
HSVhsv(289, 83%, 36%)
CMYKcmyk(15.2%, 82.6%, 0%, 63.9%)
CIE-LABlab(19.07, 39.36, -30.90)
CIE-LCHlch(19.07, 50.04, 321.87°)
OKLaboklab(31.98% 0.101 -0.0868)
OKLCHoklch(31.98% 0.133 319.3)
XYZxyz(5.2587, 2.7633, 10.3795)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E105C #1E5C10
analogous
#28105C #4E105C #5C1044
triadic
#4E105C #5C4E10 #105C4E
tetradic
#4E105C #5C2810 #1E5C10 #10445C
square
#4E105C #5C2810 #1E5C10 #10445C
split-complementary
#4E105C #445C10 #105C28
monochromatic
#16051A #220728 #4E105C #7A1990 #A622C4

Accessibility & contrast

On white

13.53
#4E105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E105C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E105C#FFFFFF#000000##FFFFFF
##4E105C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#16305A
Tritanopia (blue-blind)
#4E2036
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e105c;
/* rgb */ color: rgb(78, 16, 92);
/* oklch */ color: oklch(32.0% 0.133 319.3);
Tailwind
colors: {
  custom: {
    50: '#83578b',
    500: '#4e105c',
    950: '#000000',
  },
}
SCSS
$custom: #4e105c;
$custom-light: #83578b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e105c",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 288.947,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31981,
    "c": 0.13315,
    "h": 319.3
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#4E105C
secondary
#459533
accent
#ED3B5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E105C

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

Preview Lab → · Contrast checker → · Palette generator →

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