#4E1D66#4E1D66

#4E1D66 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.127 H 312.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E1D66
RGBrgb(78, 29, 102)
HSLhsl(280, 56%, 26%)
HSVhsv(280, 72%, 40%)
CMYKcmyk(23.5%, 71.6%, 0%, 60%)
CIE-LABlab(21.79, 35.96, -33.12)
CIE-LCHlch(21.79, 48.89, 317.35°)
OKLaboklab(34.15% 0.0855 -0.0934)
OKLCHoklch(34.15% 0.127 312.5)
XYZxyz(5.9791, 3.4579, 12.9203)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D66 #35661D
analogous
#291D66 #4E1D66 #661D59
triadic
#4E1D66 #664E1D #1D664E
tetradic
#4E1D66 #66291D #35661D #1D5966
square
#4E1D66 #66291D #35661D #1D5966
split-complementary
#4E1D66 #59661D #1D6629
monochromatic
#120718 #2A0F36 #4E1D66 #722B96 #9738C5

Accessibility & contrast

On white

12.41
#4E1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D66
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D66#FFFFFF#000000##FFFFFF
##4E1D661.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#163564
Tritanopia (blue-blind)
#4B2C3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1d66;
/* rgb */ color: rgb(78, 29, 102);
/* oklch */ color: oklch(34.2% 0.127 312.5);
Tailwind
colors: {
  custom: {
    50: '#825d92',
    500: '#4e1d66',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d66;
$custom-light: #825d92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d66",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 280.274,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34153,
    "c": 0.12659,
    "h": 312.5
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#4E1D66
secondary
#619B44
accent
#DF497A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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