#4E32B0#4E32B0

#4E32B0 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.188 H 285.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E32B0
RGBrgb(78, 50, 176)
HSLhsl(253, 56%, 44%)
HSVhsv(253, 72%, 69%)
CMYKcmyk(55.7%, 71.6%, 0%, 31%)
CIE-LABlab(31.89, 45.24, -62.78)
CIE-LCHlch(31.89, 77.38, 305.78°)
OKLaboklab(43.26% 0.0508 -0.1806)
OKLCHoklch(43.26% 0.188 285.7)
XYZxyz(12.1166, 7.0348, 41.7853)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32B0 #94B032
analogous
#3255B0 #4E32B0 #8D32B0
triadic
#4E32B0 #B04E32 #32B04E
tetradic
#4E32B0 #B03255 #94B032 #32B08D
square
#4E32B0 #B03255 #94B032 #32B08D
split-complementary
#4E32B0 #B08D32 #55B032
monochromatic
#241751 #392480 #4E32B0 #6D51CE #9581DB

Accessibility & contrast

On white

8.72
#4E32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32B0
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32B0#FFFFFF#000000##FFFFFF
##4E32B01.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#21546D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e32b0;
/* rgb */ color: rgb(78, 50, 176);
/* oklch */ color: oklch(43.3% 0.188 285.7);
Tailwind
colors: {
  custom: {
    50: '#8a6dc9',
    500: '#4e32b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e32b0;
$custom-light: #8a6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32b0",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 253.333,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.18761,
    "h": 285.7
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#4E32B0
secondary
#B4C479
accent
#DF49BE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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