#4E329F#4E329F

#4E329F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.167 H 288.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4E329F
RGBrgb(78, 50, 159)
HSLhsl(255, 52%, 41%)
HSVhsv(255, 69%, 62%)
CMYKcmyk(50.9%, 68.6%, 0%, 37.6%)
CIE-LABlab(30.41, 40.17, -54.97)
CIE-LCHlch(30.41, 68.08, 306.16°)
OKLaboklab(41.75% 0.0539 -0.1577)
OKLCHoklch(41.75% 0.167 288.9)
XYZxyz(10.5387, 6.4036, 33.4749)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E329F #839F32
analogous
#324C9F #4E329F #84329F
triadic
#4E329F #9F4E32 #329F4E
tetradic
#4E329F #9F324C #839F32 #329F84
square
#4E329F #9F324C #839F32 #329F84
split-complementary
#4E329F #9F8432 #4C9F32
monochromatic
#201542 #372370 #4E329F #6949C6 #8F77D4

Accessibility & contrast

On white

9.21
#4E329F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E329F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E329F#FFFFFF#000000##FFFFFF
##4E329F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#314D64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e329f;
/* rgb */ color: rgb(78, 50, 159);
/* oklch */ color: oklch(41.8% 0.167 288.9);
Tailwind
colors: {
  custom: {
    50: '#876cbc',
    500: '#4e329f',
    950: '#000000',
  },
}
SCSS
$custom: #4e329f;
$custom-light: #876cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e329f",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 255.413,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.16664,
    "h": 288.9
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#4E329F
secondary
#A9BD70
accent
#DC4CB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E329F

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

Preview Lab → · Contrast checker → · Palette generator →

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