#4E349A#4E349A

#4E349A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.6% C 0.158 H 289.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4E349A
RGBrgb(78, 52, 154)
HSLhsl(255, 50%, 40%)
HSVhsv(255, 66%, 60%)
CMYKcmyk(49.4%, 66.2%, 0%, 39.6%)
CIE-LABlab(30.42, 37.53, -51.91)
CIE-LCHlch(30.42, 64.05, 305.86°)
OKLaboklab(41.63% 0.0525 -0.1487)
OKLCHoklch(41.63% 0.158 289.5)
XYZxyz(10.2009, 6.4084, 31.2650)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E349A #809A34
analogous
#344D9A #4E349A #81349A
triadic
#4E349A #9A4E34 #349A4E
tetradic
#4E349A #9A344D #809A34 #349A81
square
#4E349A #9A344D #809A34 #349A81
split-complementary
#4E349A #9A8134 #4D9A34
monochromatic
#20153E #37256C #4E349A #6849C2 #8E77D1

Accessibility & contrast

On white

9.20
#4E349A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4E349A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E349A
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E349A#FFFFFF#000000##FFFFFF
##4E349A1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#354D62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e349a;
/* rgb */ color: rgb(78, 52, 154);
/* oklch */ color: oklch(41.6% 0.158 289.5);
Tailwind
colors: {
  custom: {
    50: '#866db9',
    500: '#4e349a',
    950: '#000000',
  },
}
SCSS
$custom: #4e349a;
$custom-light: #866db9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e349a",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 255.294,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.15772,
    "h": 289.5
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#4E349A
secondary
#A7BA70
accent
#D94FB6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E349A

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

Preview Lab → · Contrast checker → · Palette generator →

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