#4E32B9#4E32B9

#4E32B9 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.198 H 284.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4E32B9
RGBrgb(78, 50, 185)
HSLhsl(252, 57%, 46%)
HSVhsv(252, 73%, 73%)
CMYKcmyk(57.8%, 73%, 0%, 27.5%)
CIE-LABlab(32.71, 47.91, -66.78)
CIE-LCHlch(32.71, 82.19, 305.66°)
OKLaboklab(44.1% 0.0489 -0.1923)
OKLCHoklch(44.1% 0.198 284.3)
XYZxyz(13.0368, 7.4029, 46.6315)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32B9 #9DB932
analogous
#325AB9 #4E32B9 #9132B9
triadic
#4E32B9 #B94E32 #32B94E
tetradic
#4E32B9 #B9325A #9DB932 #32B991
square
#4E32B9 #B9325A #9DB932 #32B991
split-complementary
#4E32B9 #B99132 #5AB932
monochromatic
#251859 #3A2589 #4E32B9 #7057D2 #9987DF

Accessibility & contrast

On white

8.47
#4E32B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E32B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32B9
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32B9#FFFFFF#000000##FFFFFF
##4E32B91.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#135772
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e32b9;
/* rgb */ color: rgb(78, 50, 185);
/* oklch */ color: oklch(44.1% 0.198 284.3);
Tailwind
colors: {
  custom: {
    50: '#8b6dcf',
    500: '#4e32b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e32b9;
$custom-light: #8b6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32b9",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 252.444,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.19843,
    "h": 284.3
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#4E32B9
secondary
#B9C87F
accent
#E147C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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