#4E1E64#4E1E64

#4E1E64 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.1% C 0.123 H 313.3°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#4E1E64
RGBrgb(78, 30, 100)
HSLhsl(281, 54%, 25%)
HSVhsv(281, 70%, 39%)
CMYKcmyk(22%, 70%, 0%, 60.8%)
CIE-LABlab(21.83, 34.98, -31.75)
CIE-LCHlch(21.83, 47.24, 317.77°)
OKLaboklab(34.14% 0.0843 -0.0894)
OKLCHoklch(34.14% 0.123 313.3)
XYZxyz(5.9060, 3.4685, 12.4125)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E64 #34641E
analogous
#2B1E64 #4E1E64 #641E57
triadic
#4E1E64 #644E1E #1E644E
tetradic
#4E1E64 #642B1E #34641E #1E5764
square
#4E1E64 #642B1E #34641E #1E5764
split-complementary
#4E1E64 #57641E #1E642B
monochromatic
#120718 #291035 #4E1E64 #732C93 #973AC2

Accessibility & contrast

On white

12.40
#4E1E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E1E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E64
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E64#FFFFFF#000000##FFFFFF
##4E1E641.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#1A3562
Tritanopia (blue-blind)
#4C2C3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1e64;
/* rgb */ color: rgb(78, 30, 100);
/* oklch */ color: oklch(34.1% 0.123 313.3);
Tailwind
colors: {
  custom: {
    50: '#825e91',
    500: '#4e1e64',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e64;
$custom-light: #825e91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e64",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 281.143,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34135,
    "c": 0.1229,
    "h": 313.3
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#4E1E64
secondary
#5F9945
accent
#DD4B79
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4E1E64

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

Preview Lab → · Contrast checker → · Palette generator →

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