#4E1464#4E1464

#4E1464 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 33.0% C 0.136 H 314.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#4E1464
RGBrgb(78, 20, 100)
HSLhsl(284, 67%, 24%)
HSVhsv(284, 80%, 39%)
CMYKcmyk(22%, 80%, 0%, 60.8%)
CIE-LABlab(20.20, 39.56, -34.37)
CIE-LCHlch(20.20, 52.41, 319.02°)
OKLaboklab(32.98% 0.0958 -0.097)
OKLCHoklch(32.98% 0.136 314.7)
XYZxyz(5.6919, 3.0403, 12.3411)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1464 #2A6414
analogous
#261464 #4E1464 #641452
triadic
#4E1464 #644E14 #14644E
tetradic
#4E1464 #642614 #2A6414 #145264
square
#4E1464 #642614 #2A6414 #145264
split-complementary
#4E1464 #526414 #146426
monochromatic
#14051A #260A31 #4E1464 #761E97 #9E28CA

Accessibility & contrast

On white

13.06
#4E1464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1464
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1464#FFFFFF#000000##FFFFFF
##4E14641.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#4C263B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1464;
/* rgb */ color: rgb(78, 20, 100);
/* oklch */ color: oklch(33.0% 0.136 314.7);
Tailwind
colors: {
  custom: {
    50: '#835991',
    500: '#4e1464',
    950: '#000000',
  },
}
SCSS
$custom: #4e1464;
$custom-light: #835991;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1464",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 283.5,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32975,
    "c": 0.13635,
    "h": 314.7
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#4E1464
secondary
#549B38
accent
#EA3E6D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1464

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

Preview Lab → · Contrast checker → · Palette generator →

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