#4E328D#4E328D

#4E328D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.3% C 0.144 H 293.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#4E328D
RGBrgb(78, 50, 141)
HSLhsl(258, 48%, 37%)
HSVhsv(258, 65%, 55%)
CMYKcmyk(44.7%, 64.5%, 0%, 44.7%)
CIE-LABlab(28.96, 34.84, -46.30)
CIE-LCHlch(28.96, 57.94, 306.96°)
OKLaboklab(40.25% 0.0561 -0.1322)
OKLCHoklch(40.25% 0.144 293)
XYZxyz(9.0889, 5.8237, 25.8394)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E328D #718D32
analogous
#32438D #4E328D #7C328D
triadic
#4E328D #8D4E32 #328D4E
tetradic
#4E328D #8D3243 #718D32 #328D7C
square
#4E328D #8D3243 #718D32 #328D7C
split-complementary
#4E328D #8D7C32 #438D32
monochromatic
#1C1233 #352260 #4E328D #6742BA #8B6ECC

Accessibility & contrast

On white

9.70
#4E328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4E328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E328D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E328D#FFFFFF#000000##FFFFFF
##4E328D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#3C475A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e328d;
/* rgb */ color: rgb(78, 50, 141);
/* oklch */ color: oklch(40.3% 0.144 293.0);
Tailwind
colors: {
  custom: {
    50: '#856baf',
    500: '#4e328d',
    950: '#000000',
  },
}
SCSS
$custom: #4e328d;
$custom-light: #856baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e328d",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 258.462,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.14362,
    "h": 293
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#4E328D
secondary
#9CB368
accent
#D751AE
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E328D

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

Preview Lab → · Contrast checker → · Palette generator →

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