#4E328A#4E328A

#4E328A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.0% C 0.140 H 293.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4E328A
RGBrgb(78, 50, 138)
HSLhsl(259, 47%, 37%)
HSVhsv(259, 64%, 54%)
CMYKcmyk(43.5%, 63.8%, 0%, 45.9%)
CIE-LABlab(28.74, 33.96, -44.81)
CIE-LCHlch(28.74, 56.22, 307.15°)
OKLaboklab(40.02% 0.0563 -0.1278)
OKLCHoklch(40.02% 0.14 293.8)
XYZxyz(8.8687, 5.7357, 24.6796)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E328A #6E8A32
analogous
#32428A #4E328A #7A328A
triadic
#4E328A #8A4E32 #328A4E
tetradic
#4E328A #8A3242 #6E8A32 #328A7A
square
#4E328A #8A3242 #6E8A32 #328A7A
split-complementary
#4E328A #8A7A32 #428A32
monochromatic
#1B1130 #35225D #4E328A #6742B7 #8A6CCA

Accessibility & contrast

On white

9.78
#4E328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E328A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E328A#FFFFFF#000000##FFFFFF
##4E328A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#3E4659
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e328a;
/* rgb */ color: rgb(78, 50, 138);
/* oklch */ color: oklch(40.0% 0.140 293.8);
Tailwind
colors: {
  custom: {
    50: '#846bad',
    500: '#4e328a',
    950: '#000000',
  },
}
SCSS
$custom: #4e328a;
$custom-light: #846bad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e328a",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 259.091,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.1397,
    "h": 293.8
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#4E328A
secondary
#9AB266
accent
#D651AC
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E328A

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

Preview Lab → · Contrast checker → · Palette generator →

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