#4B32B5#4B32B5

#4B32B5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.194 H 283.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4B32B5
RGBrgb(75, 50, 181)
HSLhsl(251, 57%, 45%)
HSVhsv(251, 72%, 71%)
CMYKcmyk(58.6%, 72.4%, 0%, 29%)
CIE-LABlab(32.06, 46.29, -65.48)
CIE-LCHlch(32.06, 80.19, 305.26°)
OKLaboklab(43.46% 0.0455 -0.1886)
OKLCHoklch(43.46% 0.194 283.6)
XYZxyz(12.3802, 7.1125, 44.4276)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32B5 #9CB532
analogous
#325BB5 #4B32B5 #8C32B5
triadic
#4B32B5 #B54B32 #32B54B
tetradic
#4B32B5 #B5325B #9CB532 #32B58C
square
#4B32B5 #B5325B #9CB532 #32B58C
split-complementary
#4B32B5 #B58C32 #5BB532
monochromatic
#231855 #372585 #4B32B5 #6C54D0 #9584DD

Accessibility & contrast

On white

8.67
#4B32B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B32B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32B5
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32B5#FFFFFF#000000##FFFFFF
##4B32B51.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#0B5670
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b32b5;
/* rgb */ color: rgb(75, 50, 181);
/* oklch */ color: oklch(43.5% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#896dcc',
    500: '#4b32b5',
    950: '#000000',
  },
}
SCSS
$custom: #4b32b5;
$custom-light: #896dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32b5",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 251.45,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43458,
    "c": 0.194,
    "h": 283.6
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#4B32B5
secondary
#B8C77C
accent
#E048C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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