#4E1D94#4E1D94

#4E1D94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.177 H 295.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#4E1D94
RGBrgb(78, 29, 148)
HSLhsl(265, 67%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(47.3%, 80.4%, 0%, 42%)
CIE-LABlab(25.67, 47.64, -55.99)
CIE-LCHlch(25.67, 73.52, 310.39°)
OKLaboklab(38.1% 0.0753 -0.1606)
OKLCHoklch(38.1% 0.177 295.1)
XYZxyz(8.9251, 4.6363, 28.4359)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D94 #63941D
analogous
#1D2794 #4E1D94 #8A1D94
triadic
#4E1D94 #944E1D #1D944E
tetradic
#4E1D94 #941D27 #63941D #1D948A
square
#4E1D94 #941D27 #63941D #1D948A
split-complementary
#4E1D94 #948A1D #27941D
monochromatic
#18092E #331361 #4E1D94 #6927C7 #894FDC

Accessibility & contrast

On white

10.90
#4E1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4E1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D94
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D94#FFFFFF#000000##FFFFFF
##4E1D941.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#3A3F59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e1d94;
/* rgb */ color: rgb(78, 29, 148);
/* oklch */ color: oklch(38.1% 0.177 295.1);
Tailwind
colors: {
  custom: {
    50: '#8760b4',
    500: '#4e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d94;
$custom-light: #8760b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d94",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 264.706,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38099,
    "c": 0.17733,
    "h": 295.1
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#4E1D94
secondary
#90BF4E
accent
#EA3EA3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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