#4E32BC#4E32BC

#4E32BC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.202 H 283.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E32BC
RGBrgb(78, 50, 188)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 73%, 74%)
CMYKcmyk(58.5%, 73.4%, 0%, 26.3%)
CIE-LABlab(32.99, 48.80, -68.09)
CIE-LCHlch(32.99, 83.77, 305.63°)
OKLaboklab(44.38% 0.0482 -0.1962)
OKLCHoklch(44.38% 0.202 283.8)
XYZxyz(13.3568, 7.5309, 48.3170)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32BC #A0BC32
analogous
#325BBC #4E32BC #9332BC
triadic
#4E32BC #BC4E32 #32BC4E
tetradic
#4E32BC #BC325B #A0BC32 #32BC93
square
#4E32BC #BC325B #A0BC32 #32BC93
split-complementary
#4E32BC #BC9332 #5BBC32
monochromatic
#26185B #3A258C #4E32BC #7158D3 #9A89E0

Accessibility & contrast

On white

8.38
#4E32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E32BC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32BC#FFFFFF#000000##FFFFFF
##4E32BC1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#0B5874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e32bc;
/* rgb */ color: rgb(78, 50, 188);
/* oklch */ color: oklch(44.4% 0.202 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6dd1',
    500: '#4e32bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e32bc;
$custom-light: #8c6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32bc",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 252.174,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44378,
    "c": 0.202,
    "h": 283.8
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#4E32BC
secondary
#BBC980
accent
#E147C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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