#4E3594#4E3594

#4E3594 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.149 H 290.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4E3594
RGBrgb(78, 53, 148)
HSLhsl(256, 47%, 39%)
HSVhsv(256, 64%, 58%)
CMYKcmyk(47.3%, 64.2%, 0%, 42%)
CIE-LABlab(30.17, 35.14, -48.66)
CIE-LCHlch(30.17, 60.02, 305.83°)
OKLaboklab(41.3% 0.0521 -0.1391)
OKLCHoklch(41.3% 0.149 290.5)
XYZxyz(9.7588, 6.3037, 28.7138)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3594 #7B9435
analogous
#354C94 #4E3594 #7E3594
triadic
#4E3594 #944E35 #35944E
tetradic
#4E3594 #94354C #7B9435 #35947E
square
#4E3594 #94354C #7B9435 #35947E
split-complementary
#4E3594 #947E35 #4C9435
monochromatic
#1F153A #362567 #4E3594 #6749BE #8D76CE

Accessibility & contrast

On white

9.29
#4E3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4E3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3594
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3594#FFFFFF#000000##FFFFFF
##4E35941.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#384B5F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e3594;
/* rgb */ color: rgb(78, 53, 148);
/* oklch */ color: oklch(41.3% 0.149 290.5);
Tailwind
colors: {
  custom: {
    50: '#856eb4',
    500: '#4e3594',
    950: '#000000',
  },
}
SCSS
$custom: #4e3594;
$custom-light: #856eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3594",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 255.789,
    "s": 47.264,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.14856,
    "h": 290.5
  },
  "luminance": 0.06304
}

Semantic roles & 50–950 ramp

primary
#4E3594
secondary
#A3B66E
accent
#D751B4
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E3594

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

Preview Lab → · Contrast checker → · Palette generator →

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