#4E3699#4E3699

#4E3699 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 41.9% C 0.154 H 289.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#4E3699
RGBrgb(78, 54, 153)
HSLhsl(255, 48%, 41%)
HSVhsv(255, 65%, 60%)
CMYKcmyk(49%, 64.7%, 0%, 40%)
CIE-LABlab(30.78, 36.05, -50.72)
CIE-LCHlch(30.78, 62.23, 305.40°)
OKLaboklab(41.86% 0.0505 -0.1452)
OKLCHoklch(41.86% 0.154 289.2)
XYZxyz(10.2092, 6.5575, 30.8586)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3699 #819936
analogous
#365099 #4E3699 #7F3699
triadic
#4E3699 #994E36 #36994E
tetradic
#4E3699 #993650 #819936 #36997F
square
#4E3699 #993650 #819936 #36997F
split-complementary
#4E3699 #997F36 #509936
monochromatic
#20163F #37266C #4E3699 #684CC0 #8E7AD0

Accessibility & contrast

On white

9.08
#4E3699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E3699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3699
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3699#FFFFFF#000000##FFFFFF
##4E36991.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#354E62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e3699;
/* rgb */ color: rgb(78, 54, 153);
/* oklch */ color: oklch(41.9% 0.154 289.2);
Tailwind
colors: {
  custom: {
    50: '#866eb8',
    500: '#4e3699',
    950: '#000000',
  },
}
SCSS
$custom: #4e3699;
$custom-light: #866eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3699",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 254.545,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.15374,
    "h": 289.2
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#4E3699
secondary
#A8B972
accent
#D750B7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3699

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

Preview Lab → · Contrast checker → · Palette generator →

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