#4E3696#4E3696

#4E3696 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 41.6% C 0.150 H 289.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#4E3696
RGBrgb(78, 54, 150)
HSLhsl(255, 47%, 40%)
HSVhsv(255, 64%, 59%)
CMYKcmyk(48%, 64%, 0%, 41.2%)
CIE-LABlab(30.54, 35.14, -49.27)
CIE-LCHlch(30.54, 60.52, 305.50°)
OKLaboklab(41.62% 0.0508 -0.1409)
OKLCHoklch(41.62% 0.15 289.8)
XYZxyz(9.9645, 6.4597, 29.5701)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3696 #7E9636
analogous
#364E96 #4E3696 #7E3696
triadic
#4E3696 #964E36 #36964E
tetradic
#4E3696 #96364E #7E9636 #36967E
square
#4E3696 #96364E #7E9636 #36967E
split-complementary
#4E3696 #967E36 #4E9636
monochromatic
#1F163C #372669 #4E3696 #684BBE #8E78CE

Accessibility & contrast

On white

9.16
#4E3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4E3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3696
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3696#FFFFFF#000000##FFFFFF
##4E36961.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#374D61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3696;
/* rgb */ color: rgb(78, 54, 150);
/* oklch */ color: oklch(41.6% 0.150 289.8);
Tailwind
colors: {
  custom: {
    50: '#866eb6',
    500: '#4e3696',
    950: '#000000',
  },
}
SCSS
$custom: #4e3696;
$custom-light: #866eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3696",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 255,
    "s": 47.059,
    "l": 40
  },
  "oklch": {
    "l": 0.41621,
    "c": 0.1498,
    "h": 289.8
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#4E3696
secondary
#A6B771
accent
#D751B5
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3696

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

Preview Lab → · Contrast checker → · Palette generator →

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