#4E3596#4E3596

#4E3596 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.151 H 290.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3596
RGBrgb(78, 53, 150)
HSLhsl(255, 48%, 40%)
HSVhsv(255, 65%, 59%)
CMYKcmyk(48%, 64.7%, 0%, 41.2%)
CIE-LABlab(30.32, 35.74, -49.63)
CIE-LCHlch(30.32, 61.16, 305.76°)
OKLaboklab(41.46% 0.0519 -0.142)
OKLCHoklch(41.46% 0.151 290.1)
XYZxyz(9.9184, 6.3675, 29.5547)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3596 #7D9635
analogous
#354D96 #4E3596 #7F3596
triadic
#4E3596 #964E35 #35964E
tetradic
#4E3596 #96354D #7D9635 #35967F
square
#4E3596 #96354D #7D9635 #35967F
split-complementary
#4E3596 #967F35 #4D9635
monochromatic
#1F153C #362569 #4E3596 #6849BF #8D77CF

Accessibility & contrast

On white

9.24
#4E3596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E3596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3596
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3596#FFFFFF#000000##FFFFFF
##4E35961.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#374C60
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3596;
/* rgb */ color: rgb(78, 53, 150);
/* oklch */ color: oklch(41.5% 0.151 290.1);
Tailwind
colors: {
  custom: {
    50: '#866eb6',
    500: '#4e3596',
    950: '#000000',
  },
}
SCSS
$custom: #4e3596;
$custom-light: #866eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3596",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 255.464,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4146,
    "c": 0.15118,
    "h": 290.1
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#4E3596
secondary
#A5B76F
accent
#D750B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3596

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

Preview Lab → · Contrast checker → · Palette generator →

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