#4B32B2#4B32B2

#4B32B2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.190 H 284.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4B32B2
RGBrgb(75, 50, 178)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 70%)
CMYKcmyk(57.9%, 71.9%, 0%, 30.2%)
CIE-LABlab(31.79, 45.39, -64.14)
CIE-LCHlch(31.79, 78.58, 305.28°)
OKLaboklab(43.18% 0.0461 -0.1847)
OKLCHoklch(43.18% 0.19 284)
XYZxyz(12.0757, 6.9907, 42.8239)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32B2 #99B232
analogous
#3259B2 #4B32B2 #8B32B2
triadic
#4B32B2 #B24B32 #32B24B
tetradic
#4B32B2 #B23259 #99B232 #32B28B
square
#4B32B2 #B23259 #99B232 #32B28B
split-complementary
#4B32B2 #B28B32 #59B232
monochromatic
#231752 #372582 #4B32B2 #6B53CF #9482DC

Accessibility & contrast

On white

8.76
#4B32B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4B32B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32B2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32B2#FFFFFF#000000##FFFFFF
##4B32B21.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#13556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b32b2;
/* rgb */ color: rgb(75, 50, 178);
/* oklch */ color: oklch(43.2% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#896cca',
    500: '#4b32b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b32b2;
$custom-light: #896cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32b2",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 251.719,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.19036,
    "h": 284
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#4B32B2
secondary
#B7C57B
accent
#DF48C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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