#4E1063#4E1063

#4E1063 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.140 H 315.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4E1063
RGBrgb(78, 16, 99)
HSLhsl(285, 72%, 23%)
HSVhsv(285, 84%, 39%)
CMYKcmyk(21.2%, 83.8%, 0%, 61.2%)
CIE-LABlab(19.60, 40.85, -34.68)
CIE-LCHlch(19.60, 53.59, 319.67°)
OKLaboklab(32.53% 0.0998 -0.0979)
OKLCHoklch(32.53% 0.14 315.6)
XYZxyz(5.5789, 2.8914, 12.0662)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1063 #256310
analogous
#241063 #4E1063 #63104F
triadic
#4E1063 #634E10 #10634E
tetradic
#4E1063 #632410 #256310 #104F63
square
#4E1063 #632410 #256310 #104F63
split-complementary
#4E1063 #4F6310 #106324
monochromatic
#15041A #24072E #4E1063 #781998 #A121CC

Accessibility & contrast

On white

13.31
#4E1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1063
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1063#FFFFFF#000000##FFFFFF
##4E10631.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#0D3161
Tritanopia (blue-blind)
#4C243A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1063;
/* rgb */ color: rgb(78, 16, 99);
/* oklch */ color: oklch(32.5% 0.140 315.6);
Tailwind
colors: {
  custom: {
    50: '#835790',
    500: '#4e1063',
    950: '#000000',
  },
}
SCSS
$custom: #4e1063;
$custom-light: #835790;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1063",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 284.819,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32527,
    "c": 0.13979,
    "h": 315.6
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#4E1063
secondary
#4E9C33
accent
#EF3967
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E1063

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

Preview Lab → · Contrast checker → · Palette generator →

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