#4E32BD#4E32BD

#4E32BD is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.5% C 0.203 H 283.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4E32BD
RGBrgb(78, 50, 189)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 74%, 74%)
CMYKcmyk(58.7%, 73.5%, 0%, 25.9%)
CIE-LABlab(33.08, 49.10, -68.53)
CIE-LCHlch(33.08, 84.30, 305.62°)
OKLaboklab(44.47% 0.048 -0.1974)
OKLCHoklch(44.47% 0.203 283.7)
XYZxyz(13.4650, 7.5742, 48.8867)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32BD #A1BD32
analogous
#325CBD #4E32BD #9432BD
triadic
#4E32BD #BD4E32 #32BD4E
tetradic
#4E32BD #BD325C #A1BD32 #32BD94
square
#4E32BD #BD325C #A1BD32 #32BD94
split-complementary
#4E32BD #BD9432 #5CBD32
monochromatic
#26185C #3A258D #4E32BD #7259D3 #9B89E0

Accessibility & contrast

On white

8.35
#4E32BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E32BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32BD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32BD#FFFFFF#000000##FFFFFF
##4E32BD1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#075975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e32bd;
/* rgb */ color: rgb(78, 50, 189);
/* oklch */ color: oklch(44.5% 0.203 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c6dd2',
    500: '#4e32bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e32bd;
$custom-light: #8c6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32bd",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 252.086,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44472,
    "c": 0.20318,
    "h": 283.7
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#4E32BD
secondary
#BBCA81
accent
#E146C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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