#4E32B3#4E32B3

#4E32B3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.191 H 285.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#4E32B3
RGBrgb(78, 50, 179)
HSLhsl(253, 56%, 45%)
HSVhsv(253, 72%, 70%)
CMYKcmyk(56.4%, 72.1%, 0%, 29.8%)
CIE-LABlab(32.16, 46.13, -64.12)
CIE-LCHlch(32.16, 78.99, 305.73°)
OKLaboklab(43.54% 0.0502 -0.1845)
OKLCHoklch(43.54% 0.191 285.2)
XYZxyz(12.4167, 7.1549, 43.3658)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32B3 #97B332
analogous
#3257B3 #4E32B3 #8E32B3
triadic
#4E32B3 #B34E32 #32B34E
tetradic
#4E32B3 #B33257 #97B332 #32B38E
square
#4E32B3 #B33257 #97B332 #32B38E
split-complementary
#4E32B3 #B38E32 #57B332
monochromatic
#241753 #392583 #4E32B3 #6E53CF #9683DC

Accessibility & contrast

On white

8.64
#4E32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32B3
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32B3#FFFFFF#000000##FFFFFF
##4E32B31.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#1D556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e32b3;
/* rgb */ color: rgb(78, 50, 179);
/* oklch */ color: oklch(43.5% 0.191 285.2);
Tailwind
colors: {
  custom: {
    50: '#8a6dcb',
    500: '#4e32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e32b3;
$custom-light: #8a6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32b3",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 253.023,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43537,
    "c": 0.19124,
    "h": 285.2
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#4E32B3
secondary
#B6C67B
accent
#E048BF
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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