#4E1468#4E1468

#4E1468 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.140 H 312.7°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#4E1468
RGBrgb(78, 20, 104)
HSLhsl(281, 68%, 24%)
HSVhsv(281, 81%, 41%)
CMYKcmyk(25%, 80.8%, 0%, 59.2%)
CIE-LABlab(20.52, 40.46, -36.49)
CIE-LCHlch(20.52, 54.49, 317.96°)
OKLaboklab(33.3% 0.0951 -0.1032)
OKLCHoklch(33.3% 0.14 312.7)
XYZxyz(5.8903, 3.1197, 13.3859)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1468 #2E6814
analogous
#241468 #4E1468 #681458
triadic
#4E1468 #684E14 #14684E
tetradic
#4E1468 #682414 #2E6814 #145868
square
#4E1468 #682414 #2E6814 #145868
split-complementary
#4E1468 #586814 #146824
monochromatic
#13051A #280A35 #4E1468 #741E9B #9B28CF

Accessibility & contrast

On white

12.93
#4E1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1468
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1468#FFFFFF#000000##FFFFFF
##4E14681.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#083366
Tritanopia (blue-blind)
#4B283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1468;
/* rgb */ color: rgb(78, 20, 104);
/* oklch */ color: oklch(33.3% 0.140 312.7);
Tailwind
colors: {
  custom: {
    50: '#835994',
    500: '#4e1468',
    950: '#000000',
  },
}
SCSS
$custom: #4e1468;
$custom-light: #835994;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1468",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 281.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.14036,
    "h": 312.7
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#4E1468
secondary
#589F39
accent
#EB3D73
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1468

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

Preview Lab → · Contrast checker → · Palette generator →

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