#4E1D76#4E1D76

#4E1D76 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.144 H 305.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4E1D76
RGBrgb(78, 29, 118)
HSLhsl(273, 61%, 29%)
HSVhsv(273, 75%, 46%)
CMYKcmyk(33.9%, 75.4%, 0%, 53.7%)
CIE-LABlab(23.02, 39.89, -41.48)
CIE-LCHlch(23.02, 57.55, 313.88°)
OKLaboklab(35.42% 0.0832 -0.118)
OKLCHoklch(35.42% 0.144 305.2)
XYZxyz(6.8505, 3.8065, 17.5099)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D76 #45761D
analogous
#221D76 #4E1D76 #761D72
triadic
#4E1D76 #764E1D #1D764E
tetradic
#4E1D76 #76221D #45761D #1D7276
square
#4E1D76 #76221D #45761D #1D7276
split-complementary
#4E1D76 #72761D #1D7622
monochromatic
#100619 #2E1145 #4E1D76 #6E29A7 #8E3ED0

Accessibility & contrast

On white

11.92
#4E1D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E1D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D76
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D76#FFFFFF#000000##FFFFFF
##4E1D761.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003774
Tritanopia (blue-blind)
#473248
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1d76;
/* rgb */ color: rgb(78, 29, 118);
/* oklch */ color: oklch(35.4% 0.144 305.2);
Tailwind
colors: {
  custom: {
    50: '#845e9e',
    500: '#4e1d76',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d76;
$custom-light: #845e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d76",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 118
  },
  "hsl": {
    "h": 273.034,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.14433,
    "h": 305.2
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#4E1D76
secondary
#72AA45
accent
#E4448C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1D76

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

Preview Lab → · Contrast checker → · Palette generator →

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