#4E1062#4E1062

#4E1062 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.139 H 316.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4E1062
RGBrgb(78, 16, 98)
HSLhsl(285, 72%, 22%)
HSVhsv(285, 84%, 38%)
CMYKcmyk(20.4%, 83.7%, 0%, 61.6%)
CIE-LABlab(19.53, 40.64, -34.15)
CIE-LCHlch(19.53, 53.08, 319.96°)
OKLaboklab(32.45% 0.1 -0.0963)
OKLCHoklch(32.45% 0.139 316.1)
XYZxyz(5.5314, 2.8724, 11.8160)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1062 #246210
analogous
#251062 #4E1062 #62104D
triadic
#4E1062 #624E10 #10624E
tetradic
#4E1062 #622510 #246210 #104D62
square
#4E1062 #622510 #246210 #104D62
split-complementary
#4E1062 #4D6210 #106225
monochromatic
#15041A #24072D #4E1062 #781997 #A221CB

Accessibility & contrast

On white

13.34
#4E1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1062
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1062#FFFFFF#000000##FFFFFF
##4E10621.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#0F3160
Tritanopia (blue-blind)
#4D2339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1062;
/* rgb */ color: rgb(78, 16, 98);
/* oklch */ color: oklch(32.4% 0.139 316.1);
Tailwind
colors: {
  custom: {
    50: '#83578f',
    500: '#4e1062',
    950: '#000000',
  },
}
SCSS
$custom: #4e1062;
$custom-light: #83578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1062",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 285.366,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.13884,
    "h": 316.1
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#4E1062
secondary
#4C9B33
accent
#EF3965
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E1062

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

Preview Lab → · Contrast checker → · Palette generator →

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