#4E3599#4E3599

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

Color values

HEX#4E3599
RGBrgb(78, 53, 153)
HSLhsl(255, 49%, 40%)
HSVhsv(255, 65%, 60%)
CMYKcmyk(49%, 65.4%, 0%, 40%)
CIE-LABlab(30.56, 36.64, -51.08)
CIE-LCHlch(30.56, 62.86, 305.65°)
OKLaboklab(41.71% 0.0516 -0.1463)
OKLCHoklch(41.71% 0.155 289.4)
XYZxyz(10.1631, 6.4654, 30.8433)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3599 #809935
analogous
#354E99 #4E3599 #803599
triadic
#4E3599 #994E35 #35994E
tetradic
#4E3599 #99354E #809935 #359980
square
#4E3599 #99354E #809935 #359980
split-complementary
#4E3599 #998035 #4E9935
monochromatic
#20163E #37256C #4E3599 #684BC1 #8E78D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3599#FFFFFF#000000##FFFFFF
##4E35991.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)
#004A9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#354D62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3599;
/* rgb */ color: rgb(78, 53, 153);
/* oklch */ color: oklch(41.7% 0.155 289.4);
Tailwind
colors: {
  custom: {
    50: '#866eb8',
    500: '#4e3599',
    950: '#000000',
  },
}
SCSS
$custom: #4e3599;
$custom-light: #866eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3599",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 153
  },
  "hsl": {
    "h": 255,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.15509,
    "h": 289.4
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#4E3599
secondary
#A7B971
accent
#D850B6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3599

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

Preview Lab → · Contrast checker → · Palette generator →

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