#4E3586#4E3586

#4E3586 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.130 H 294.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4E3586
RGBrgb(78, 53, 134)
HSLhsl(259, 43%, 37%)
HSVhsv(259, 60%, 53%)
CMYKcmyk(41.8%, 60.4%, 0%, 47.5%)
CIE-LABlab(29.13, 30.98, -41.70)
CIE-LCHlch(29.13, 51.95, 306.61°)
OKLaboklab(40.21% 0.0528 -0.1187)
OKLCHoklch(40.21% 0.13 294)
XYZxyz(8.7169, 5.8869, 23.2267)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3586 #6D8635
analogous
#354486 #4E3586 #773586
triadic
#4E3586 #864E35 #35864E
tetradic
#4E3586 #863544 #6D8635 #358677
square
#4E3586 #863544 #6D8635 #358677
split-complementary
#4E3586 #867735 #448635
monochromatic
#1B122E #34245A #4E3586 #6846B2 #8A6FC6

Accessibility & contrast

On white

9.64
#4E3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3586
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3586#FFFFFF#000000##FFFFFF
##4E35861.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014589
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#3F4758
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e3586;
/* rgb */ color: rgb(78, 53, 134);
/* oklch */ color: oklch(40.2% 0.130 294.0);
Tailwind
colors: {
  custom: {
    50: '#846daa',
    500: '#4e3586',
    950: '#000000',
  },
}
SCSS
$custom: #4e3586;
$custom-light: #846daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3586",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 258.519,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.1299,
    "h": 294
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#4E3586
secondary
#99AE68
accent
#D355AC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E3586

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

Preview Lab → · Contrast checker → · Palette generator →

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