#4E1D65#4E1D65

#4E1D65 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.125 H 313.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4E1D65
RGBrgb(78, 29, 101)
HSLhsl(281, 55%, 25%)
HSVhsv(281, 71%, 40%)
CMYKcmyk(22.8%, 71.3%, 0%, 60.4%)
CIE-LABlab(21.72, 35.72, -32.58)
CIE-LCHlch(21.72, 48.35, 317.63°)
OKLaboklab(34.08% 0.0855 -0.0918)
OKLCHoklch(34.08% 0.125 313)
XYZxyz(5.9298, 3.4382, 12.6607)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D65 #34651D
analogous
#2A1D65 #4E1D65 #651D58
triadic
#4E1D65 #654E1D #1D654E
tetradic
#4E1D65 #652A1D #34651D #1D5865
square
#4E1D65 #652A1D #34651D #1D5865
split-complementary
#4E1D65 #58651D #1D652A
monochromatic
#120718 #290F35 #4E1D65 #732B95 #9738C4

Accessibility & contrast

On white

12.44
#4E1D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D65
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D65#FFFFFF#000000##FFFFFF
##4E1D651.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#183563
Tritanopia (blue-blind)
#4C2C3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1d65;
/* rgb */ color: rgb(78, 29, 101);
/* oklch */ color: oklch(34.1% 0.125 313.0);
Tailwind
colors: {
  custom: {
    50: '#825d91',
    500: '#4e1d65',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d65;
$custom-light: #825d91;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d65",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 280.833,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34078,
    "c": 0.12549,
    "h": 313
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#4E1D65
secondary
#5F9A44
accent
#DF4979
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1D65

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

Preview Lab → · Contrast checker → · Palette generator →

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