#4E32A3#4E32A3

#4E32A3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.172 H 288.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4E32A3
RGBrgb(78, 50, 163)
HSLhsl(255, 53%, 42%)
HSVhsv(255, 69%, 64%)
CMYKcmyk(52.1%, 69.3%, 0%, 36.1%)
CIE-LABlab(30.75, 41.36, -56.84)
CIE-LCHlch(30.75, 70.29, 306.04°)
OKLaboklab(42.1% 0.0532 -0.1632)
OKLCHoklch(42.1% 0.172 288.1)
XYZxyz(10.8914, 6.5447, 35.3326)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32A3 #87A332
analogous
#324FA3 #4E32A3 #8732A3
triadic
#4E32A3 #A34E32 #32A34E
tetradic
#4E32A3 #A3324F #87A332 #32A387
square
#4E32A3 #A3324F #87A332 #32A387
split-complementary
#4E32A3 #A38732 #4FA332
monochromatic
#211545 #382474 #4E32A3 #6A4BC8 #9079D6

Accessibility & contrast

On white

9.09
#4E32A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4E32A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32A3
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32A3#FFFFFF#000000##FFFFFF
##4E32A31.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#2E4F66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4e32a3;
/* rgb */ color: rgb(78, 50, 163);
/* oklch */ color: oklch(42.1% 0.172 288.1);
Tailwind
colors: {
  custom: {
    50: '#886cbf',
    500: '#4e32a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e32a3;
$custom-light: #886cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32a3",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 254.867,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.17165,
    "h": 288.1
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#4E32A3
secondary
#ACBF72
accent
#DC4BB9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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