#4E1996#4E1996

#4E1996 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.183 H 295.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4E1996
RGBrgb(78, 25, 150)
HSLhsl(265, 71%, 34%)
HSVhsv(265, 83%, 59%)
CMYKcmyk(48%, 83.3%, 0%, 41.2%)
CIE-LABlab(25.31, 49.77, -57.82)
CIE-LCHlch(25.31, 76.29, 310.72°)
OKLaboklab(37.91% 0.0775 -0.1659)
OKLCHoklch(37.91% 0.183 295)
XYZxyz(8.9930, 4.5167, 29.2462)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1996 #619619
analogous
#192296 #4E1996 #8D1996
triadic
#4E1996 #964E19 #19964E
tetradic
#4E1996 #961922 #619619 #19968D
square
#4E1996 #961922 #619619 #19968D
split-complementary
#4E1996 #968D19 #229619
monochromatic
#17082D #331062 #4E1996 #6922CA #8949E1

Accessibility & contrast

On white

11.03
#4E1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4E1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1996
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1996#FFFFFF#000000##FFFFFF
##4E19961.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#393E59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4e1996;
/* rgb */ color: rgb(78, 25, 150);
/* oklch */ color: oklch(37.9% 0.183 295.0);
Tailwind
colors: {
  custom: {
    50: '#885eb6',
    500: '#4e1996',
    950: '#000000',
  },
}
SCSS
$custom: #4e1996;
$custom-light: #885eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1996",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 265.44,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37907,
    "c": 0.18309,
    "h": 295
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#4E1996
secondary
#8FC249
accent
#EE3AA2
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4E1996

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

Preview Lab → · Contrast checker → · Palette generator →

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