#4E3686#4E3686

#4E3686 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.4% C 0.128 H 293.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4E3686
RGBrgb(78, 54, 134)
HSLhsl(258, 43%, 37%)
HSVhsv(258, 60%, 53%)
CMYKcmyk(41.8%, 59.7%, 0%, 47.5%)
CIE-LABlab(29.36, 30.36, -41.32)
CIE-LCHlch(29.36, 51.28, 306.31°)
OKLaboklab(40.38% 0.0516 -0.1176)
OKLCHoklch(40.38% 0.128 293.7)
XYZxyz(8.7630, 5.9790, 23.2420)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3686 #6E8636
analogous
#364686 #4E3686 #763686
triadic
#4E3686 #864E36 #36864E
tetradic
#4E3686 #863646 #6E8636 #368676
square
#4E3686 #863646 #6E8636 #368676
split-complementary
#4E3686 #867636 #468636
monochromatic
#1B132F #35245A #4E3686 #6748B2 #8A71C6

Accessibility & contrast

On white

9.56
#4E3686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E3686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3686
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3686#FFFFFF#000000##FFFFFF
##4E36861.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054689
Deuteranopia (green-blind)
#104484
Tritanopia (blue-blind)
#3F4758
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3686;
/* rgb */ color: rgb(78, 54, 134);
/* oklch */ color: oklch(40.4% 0.128 293.7);
Tailwind
colors: {
  custom: {
    50: '#846eaa',
    500: '#4e3686',
    950: '#000000',
  },
}
SCSS
$custom: #4e3686;
$custom-light: #846eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3686",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 258,
    "s": 42.553,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.12837,
    "h": 293.7
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#4E3686
secondary
#9AAE6A
accent
#D255AD
background
#F8F6FA
surface
#EFECF4
border
#CAC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3686

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

Preview Lab → · Contrast checker → · Palette generator →

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