#4E1E75#4E1E75

#4E1E75 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.142 H 305.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4E1E75
RGBrgb(78, 30, 117)
HSLhsl(273, 59%, 29%)
HSVhsv(273, 74%, 46%)
CMYKcmyk(33.3%, 74.4%, 0%, 54.1%)
CIE-LABlab(23.11, 39.15, -40.70)
CIE-LCHlch(23.11, 56.47, 313.89°)
OKLaboklab(35.46% 0.0823 -0.1157)
OKLCHoklch(35.46% 0.142 305.4)
XYZxyz(6.8163, 3.8327, 17.2069)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E75 #45751E
analogous
#221E75 #4E1E75 #751E71
triadic
#4E1E75 #754E1E #1E754E
tetradic
#4E1E75 #75221E #45751E #1E7175
square
#4E1E75 #75221E #45751E #1E7175
split-complementary
#4E1E75 #71751E #1E7522
monochromatic
#100618 #2E1244 #4E1E75 #6E2AA6 #8E40CE

Accessibility & contrast

On white

11.89
#4E1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E75
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E75#FFFFFF#000000##FFFFFF
##4E1E751.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#473247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e1e75;
/* rgb */ color: rgb(78, 30, 117);
/* oklch */ color: oklch(35.5% 0.142 305.4);
Tailwind
colors: {
  custom: {
    50: '#845e9d',
    500: '#4e1e75',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e75;
$custom-light: #845e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e75",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 273.103,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35456,
    "c": 0.14194,
    "h": 305.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#4E1E75
secondary
#72A946
accent
#E2458C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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