#4B32B3#4B32B3

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

Color values

HEX#4B32B3
RGBrgb(75, 50, 179)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 70%)
CMYKcmyk(58.1%, 72.1%, 0%, 29.8%)
CIE-LABlab(31.88, 45.69, -64.59)
CIE-LCHlch(31.88, 79.12, 305.27°)
OKLaboklab(43.27% 0.0459 -0.186)
OKLCHoklch(43.27% 0.192 283.9)
XYZxyz(12.1764, 7.0310, 43.3546)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32B3 #9AB332
analogous
#3259B3 #4B32B3 #8C32B3
triadic
#4B32B3 #B34B32 #32B34B
tetradic
#4B32B3 #B33259 #9AB332 #32B38C
square
#4B32B3 #B33259 #9AB332 #32B38C
split-complementary
#4B32B3 #B38C32 #59B332
monochromatic
#231753 #372583 #4B32B3 #6B53CF #9483DC

Accessibility & contrast

On white

8.73
#4B32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B32B3
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32B3#FFFFFF#000000##FFFFFF
##4B32B31.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#10556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b32b3;
/* rgb */ color: rgb(75, 50, 179);
/* oklch */ color: oklch(43.3% 0.192 283.9);
Tailwind
colors: {
  custom: {
    50: '#896ccb',
    500: '#4b32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b32b3;
$custom-light: #896ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32b3",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 251.628,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.19159,
    "h": 283.9
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#4B32B3
secondary
#B7C67B
accent
#E048C2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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