#4E1376#4E1376

#4E1376 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.155 H 306.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1376
RGBrgb(78, 19, 118)
HSLhsl(276, 72%, 27%)
HSVhsv(276, 84%, 46%)
CMYKcmyk(33.9%, 83.9%, 0%, 53.7%)
CIE-LABlab(21.56, 44.09, -43.87)
CIE-LCHlch(21.56, 62.20, 315.15°)
OKLaboklab(34.39% 0.0926 -0.1249)
OKLCHoklch(34.39% 0.155 306.5)
XYZxyz(6.6441, 3.3935, 17.4410)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1376 #3B7613
analogous
#1D1376 #4E1376 #76136D
triadic
#4E1376 #764E13 #13764E
tetradic
#4E1376 #761D13 #3B7613 #136D76
square
#4E1376 #761D13 #3B7613 #136D76
split-complementary
#4E1376 #6D7613 #13761D
monochromatic
#11041A #2B0B41 #4E1376 #711BAB #9327DC

Accessibility & contrast

On white

12.51
#4E1376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1376
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1376#FFFFFF#000000##FFFFFF
##4E13761.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.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: #4e1376;
/* rgb */ color: rgb(78, 19, 118);
/* oklch */ color: oklch(34.4% 0.155 306.5);
Tailwind
colors: {
  custom: {
    50: '#84599e',
    500: '#4e1376',
    950: '#000000',
  },
}
SCSS
$custom: #4e1376;
$custom-light: #84599e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1376",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 275.758,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.15545,
    "h": 306.5
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#4E1376
secondary
#67AC39
accent
#EF3982
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E1376

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

Preview Lab → · Contrast checker → · Palette generator →

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