#4E1E9E#4E1E9E

#4E1E9E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.187 H 292.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4E1E9E
RGBrgb(78, 30, 158)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 62%)
CMYKcmyk(50.6%, 81%, 0%, 38%)
CIE-LABlab(26.78, 49.86, -60.30)
CIE-LCHlch(26.78, 78.25, 309.59°)
OKLaboklab(39.16% 0.0713 -0.1732)
OKLCHoklch(39.16% 0.187 292.4)
XYZxyz(9.7760, 5.0165, 32.7943)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E9E #6E9E1E
analogous
#1E2E9E #4E1E9E #8E1E9E
triadic
#4E1E9E #9E4E1E #1E9E4E
tetradic
#4E1E9E #9E1E2E #6E9E1E #1E9E8E
square
#4E1E9E #9E1E2E #6E9E1E #1E9E8E
split-complementary
#4E1E9E #9E8E1E #2E9E1E
monochromatic
#1B0A37 #35146B #4E1E9E #6728D1 #8A57DF

Accessibility & contrast

On white

10.48
#4E1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4E1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E9E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E9E#FFFFFF#000000##FFFFFF
##4E1E9E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#33435F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e1e9e;
/* rgb */ color: rgb(78, 30, 158);
/* oklch */ color: oklch(39.2% 0.187 292.4);
Tailwind
colors: {
  custom: {
    50: '#8961bc',
    500: '#4e1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e9e;
$custom-light: #8961bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e9e",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 262.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.18729,
    "h": 292.4
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#4E1E9E
secondary
#9AC355
accent
#EB3DAA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4E1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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