#4E328F#4E328F

#4E328F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.146 H 292.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4E328F
RGBrgb(78, 50, 143)
HSLhsl(258, 48%, 38%)
HSVhsv(258, 65%, 56%)
CMYKcmyk(45.5%, 65%, 0%, 43.9%)
CIE-LABlab(29.12, 35.42, -47.29)
CIE-LCHlch(29.12, 59.08, 306.84°)
OKLaboklab(40.42% 0.0559 -0.1351)
OKLCHoklch(40.42% 0.146 292.5)
XYZxyz(9.2390, 5.8838, 26.6302)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E328F #738F32
analogous
#32448F #4E328F #7D328F
triadic
#4E328F #8F4E32 #328F4E
tetradic
#4E328F #8F3244 #738F32 #328F7D
square
#4E328F #8F3244 #738F32 #328F7D
split-complementary
#4E328F #8F7D32 #448F32
monochromatic
#1D1234 #352262 #4E328F #6742BC #8B6FCD

Accessibility & contrast

On white

9.65
#4E328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E328F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E328F#FFFFFF#000000##FFFFFF
##4E328F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#3B485C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e328f;
/* rgb */ color: rgb(78, 50, 143);
/* oklch */ color: oklch(40.4% 0.146 292.5);
Tailwind
colors: {
  custom: {
    50: '#856bb0',
    500: '#4e328f',
    950: '#000000',
  },
}
SCSS
$custom: #4e328f;
$custom-light: #856bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e328f",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 258.065,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.14623,
    "h": 292.5
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#4E328F
secondary
#9EB468
accent
#D850AF
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E328F

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

Preview Lab → · Contrast checker → · Palette generator →

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