#4E1A64#4E1A64

#4E1A64 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.129 H 313.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#4E1A64
RGBrgb(78, 26, 100)
HSLhsl(282, 59%, 25%)
HSVhsv(282, 74%, 39%)
CMYKcmyk(22%, 74%, 0%, 60.8%)
CIE-LABlab(21.13, 36.94, -32.88)
CIE-LCHlch(21.13, 49.46, 318.33°)
OKLaboklab(33.63% 0.0893 -0.0927)
OKLCHoklch(33.63% 0.129 313.9)
XYZxyz(5.8111, 3.2788, 12.3809)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A64 #30641A
analogous
#291A64 #4E1A64 #641A55
triadic
#4E1A64 #644E1A #1A644E
tetradic
#4E1A64 #64291A #30641A #1A5564
square
#4E1A64 #64291A #30641A #1A5564
split-complementary
#4E1A64 #55641A #1A6429
monochromatic
#130618 #280D33 #4E1A64 #742795 #9A33C5

Accessibility & contrast

On white

12.68
#4E1A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A64
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A64#FFFFFF#000000##FFFFFF
##4E1A641.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#163462
Tritanopia (blue-blind)
#4C293D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1a64;
/* rgb */ color: rgb(78, 26, 100);
/* oklch */ color: oklch(33.6% 0.129 313.9);
Tailwind
colors: {
  custom: {
    50: '#825c91',
    500: '#4e1a64',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a64;
$custom-light: #825c91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a64",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 282.162,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33631,
    "c": 0.12867,
    "h": 313.9
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#4E1A64
secondary
#5B9A40
accent
#E24674
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1A64

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

Preview Lab → · Contrast checker → · Palette generator →

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