#4E1476#4E1476

#4E1476 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.154 H 306.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#4E1476
RGBrgb(78, 20, 118)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 46%)
CMYKcmyk(33.9%, 83.1%, 0%, 53.7%)
CIE-LABlab(21.68, 43.72, -43.66)
CIE-LCHlch(21.68, 61.79, 315.04°)
OKLaboklab(34.48% 0.0917 -0.1243)
OKLCHoklch(34.48% 0.154 306.4)
XYZxyz(6.6613, 3.4281, 17.4468)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1476 #3C7614
analogous
#1D1476 #4E1476 #76146D
triadic
#4E1476 #764E14 #14764E
tetradic
#4E1476 #761D14 #3C7614 #146D76
square
#4E1476 #761D14 #3C7614 #146D76
split-complementary
#4E1476 #6D7614 #14761D
monochromatic
#11041A #2B0B42 #4E1476 #711DAA #922ADB

Accessibility & contrast

On white

12.46
#4E1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1476
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1476#FFFFFF#000000##FFFFFF
##4E14761.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#472E45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1476;
/* rgb */ color: rgb(78, 20, 118);
/* oklch */ color: oklch(34.5% 0.154 306.4);
Tailwind
colors: {
  custom: {
    50: '#845a9e',
    500: '#4e1476',
    950: '#000000',
  },
}
SCSS
$custom: #4e1476;
$custom-light: #845a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1476",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 275.51,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34477,
    "c": 0.15448,
    "h": 306.4
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#4E1476
secondary
#68AC3A
accent
#EE3A83
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1476

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

Preview Lab → · Contrast checker → · Palette generator →

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