#4E1466#4E1466

#4E1466 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.138 H 313.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1466
RGBrgb(78, 20, 102)
HSLhsl(282, 67%, 24%)
HSVhsv(282, 80%, 40%)
CMYKcmyk(23.5%, 80.4%, 0%, 60%)
CIE-LABlab(20.36, 40.01, -35.43)
CIE-LCHlch(20.36, 53.45, 318.47°)
OKLaboklab(33.13% 0.0955 -0.1001)
OKLCHoklch(33.13% 0.138 313.6)
XYZxyz(5.7899, 3.0795, 12.8572)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1466 #2C6614
analogous
#251466 #4E1466 #661455
triadic
#4E1466 #664E14 #14664E
tetradic
#4E1466 #662514 #2C6614 #145566
square
#4E1466 #662514 #2C6614 #145566
split-complementary
#4E1466 #556614 #146625
monochromatic
#14051A #270A33 #4E1466 #751E99 #9C28CC

Accessibility & contrast

On white

13.00
#4E1466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1466
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1466#FFFFFF#000000##FFFFFF
##4E14661.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#0C3264
Tritanopia (blue-blind)
#4C273C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1466;
/* rgb */ color: rgb(78, 20, 102);
/* oklch */ color: oklch(33.1% 0.138 313.6);
Tailwind
colors: {
  custom: {
    50: '#835992',
    500: '#4e1466',
    950: '#000000',
  },
}
SCSS
$custom: #4e1466;
$custom-light: #835992;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1466",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 282.439,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33134,
    "c": 0.13836,
    "h": 313.6
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#4E1466
secondary
#569D39
accent
#EA3E70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1466

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

Preview Lab → · Contrast checker → · Palette generator →

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