#4E1E88#4E1E88

#4E1E88 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.163 H 298.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4E1E88
RGBrgb(78, 30, 136)
HSLhsl(267, 64%, 33%)
HSVhsv(267, 78%, 53%)
CMYKcmyk(42.6%, 77.9%, 0%, 46.7%)
CIE-LABlab(24.72, 44.05, -50.10)
CIE-LCHlch(24.72, 66.71, 311.32°)
OKLaboklab(37.1% 0.078 -0.1433)
OKLCHoklch(37.1% 0.163 298.6)
XYZxyz(8.0490, 4.3257, 23.6987)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E88 #58881E
analogous
#1E2388 #4E1E88 #831E88
triadic
#4E1E88 #884E1E #1E884E
tetradic
#4E1E88 #881E23 #58881E #1E8883
square
#4E1E88 #881E23 #58881E #1E8883
split-complementary
#4E1E88 #88831E #23881E
monochromatic
#140824 #311356 #4E1E88 #6B29BA #8A49D7

Accessibility & contrast

On white

11.26
#4E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E88
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E88#FFFFFF#000000##FFFFFF
##4E1E881.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#403A52
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e1e88;
/* rgb */ color: rgb(78, 30, 136);
/* oklch */ color: oklch(37.1% 0.163 298.6);
Tailwind
colors: {
  custom: {
    50: '#865fac',
    500: '#4e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e88;
$custom-light: #865fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e88",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 267.17,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37095,
    "c": 0.16312,
    "h": 298.6
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#4E1E88
secondary
#86B949
accent
#E7419C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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