#4E1E76#4E1E76

#4E1E76 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.143 H 305.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#4E1E76
RGBrgb(78, 30, 118)
HSLhsl(273, 59%, 29%)
HSVhsv(273, 75%, 46%)
CMYKcmyk(33.9%, 74.6%, 0%, 53.7%)
CIE-LABlab(23.19, 39.41, -41.21)
CIE-LCHlch(23.19, 57.02, 313.72°)
OKLaboklab(35.54% 0.0821 -0.1172)
OKLCHoklch(35.54% 0.143 305)
XYZxyz(6.8754, 3.8563, 17.5182)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E76 #46761E
analogous
#221E76 #4E1E76 #761E72
triadic
#4E1E76 #764E1E #1E764E
tetradic
#4E1E76 #76221E #46761E #1E7276
square
#4E1E76 #76221E #46761E #1E7276
split-complementary
#4E1E76 #72761E #1E7622
monochromatic
#100618 #2E1245 #4E1E76 #6E2AA7 #8E40CE

Accessibility & contrast

On white

11.86
#4E1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E76
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E76#FFFFFF#000000##FFFFFF
##4E1E761.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1e76;
/* rgb */ color: rgb(78, 30, 118);
/* oklch */ color: oklch(35.5% 0.143 305.0);
Tailwind
colors: {
  custom: {
    50: '#845e9e',
    500: '#4e1e76',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e76;
$custom-light: #845e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e76",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 272.727,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.14306,
    "h": 305
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#4E1E76
secondary
#73AA46
accent
#E3458D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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