#4E329A#4E329A

#4E329A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.160 H 289.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4E329A
RGBrgb(78, 50, 154)
HSLhsl(256, 51%, 40%)
HSVhsv(256, 68%, 60%)
CMYKcmyk(49.4%, 67.5%, 0%, 39.6%)
CIE-LABlab(29.99, 38.68, -52.60)
CIE-LCHlch(29.99, 65.30, 306.33°)
OKLaboklab(41.32% 0.0546 -0.1507)
OKLCHoklch(41.32% 0.16 289.9)
XYZxyz(10.1136, 6.2336, 31.2359)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E329A #7E9A32
analogous
#324A9A #4E329A #82329A
triadic
#4E329A #9A4E32 #329A4E
tetradic
#4E329A #9A324A #7E9A32 #329A82
square
#4E329A #9A324A #7E9A32 #329A82
split-complementary
#4E329A #9A8232 #4A9A32
monochromatic
#1F143E #37236C #4E329A #6846C3 #8E74D2

Accessibility & contrast

On white

9.35
#4E329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4E329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E329A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E329A#FFFFFF#000000##FFFFFF
##4E329A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#354C61
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e329a;
/* rgb */ color: rgb(78, 50, 154);
/* oklch */ color: oklch(41.3% 0.160 289.9);
Tailwind
colors: {
  custom: {
    50: '#876cb9',
    500: '#4e329a',
    950: '#000000',
  },
}
SCSS
$custom: #4e329a;
$custom-light: #876cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e329a",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 256.154,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.16033,
    "h": 289.9
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#4E329A
secondary
#A6BA6E
accent
#DA4DB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4E329A

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

Preview Lab → · Contrast checker → · Palette generator →

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