#4E329D#4E329D

#4E329D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.164 H 289.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4E329D
RGBrgb(78, 50, 157)
HSLhsl(256, 52%, 41%)
HSVhsv(256, 68%, 62%)
CMYKcmyk(50.3%, 68.2%, 0%, 38.4%)
CIE-LABlab(30.24, 39.57, -54.03)
CIE-LCHlch(30.24, 66.97, 306.22°)
OKLaboklab(41.58% 0.0542 -0.1549)
OKLCHoklch(41.58% 0.164 289.3)
XYZxyz(10.3665, 6.3348, 32.5683)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E329D #819D32
analogous
#324B9D #4E329D #83329D
triadic
#4E329D #9D4E32 #329D4E
tetradic
#4E329D #9D324B #819D32 #329D83
square
#4E329D #9D324B #819D32 #329D83
split-complementary
#4E329D #9D8332 #4B9D32
monochromatic
#201440 #37236F #4E329D #6848C5 #8E76D3

Accessibility & contrast

On white

9.26
#4E329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4E329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E329D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E329D#FFFFFF#000000##FFFFFF
##4E329D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#334D63
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4e329d;
/* rgb */ color: rgb(78, 50, 157);
/* oklch */ color: oklch(41.6% 0.164 289.3);
Tailwind
colors: {
  custom: {
    50: '#876cbb',
    500: '#4e329d',
    950: '#000000',
  },
}
SCSS
$custom: #4e329d;
$custom-light: #876cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e329d",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 255.701,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.16413,
    "h": 289.3
  },
  "luminance": 0.06335
}

Semantic roles & 50–950 ramp

primary
#4E329D
secondary
#A8BC6F
accent
#DB4DB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E329D

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

Preview Lab → · Contrast checker → · Palette generator →

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