#4B32BB#4B32BB

#4B32BB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.0% C 0.201 H 282.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4B32BB
RGBrgb(75, 50, 187)
HSLhsl(251, 58%, 46%)
HSVhsv(251, 73%, 73%)
CMYKcmyk(59.9%, 73.3%, 0%, 26.7%)
CIE-LABlab(32.62, 48.10, -68.11)
CIE-LCHlch(32.62, 83.38, 305.23°)
OKLaboklab(44.03% 0.0442 -0.1963)
OKLCHoklch(44.03% 0.201 282.7)
XYZxyz(13.0091, 7.3640, 47.7400)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32BB #A2BB32
analogous
#325EBB #4B32BB #9032BB
triadic
#4B32BB #BB4B32 #32BB4B
tetradic
#4B32BB #BB325E #A2BB32 #32BB90
square
#4B32BB #BB325E #A2BB32 #32BB90
split-complementary
#4B32BB #BB9032 #5EBB32
monochromatic
#24185A #38258B #4B32BB #6E58D2 #9888DF

Accessibility & contrast

On white

8.49
#4B32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4B32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32BB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32BB#FFFFFF#000000##FFFFFF
##4B32BB1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4b32bb;
/* rgb */ color: rgb(75, 50, 187);
/* oklch */ color: oklch(44.0% 0.201 282.7);
Tailwind
colors: {
  custom: {
    50: '#8a6dd1',
    500: '#4b32bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b32bb;
$custom-light: #8a6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32bb",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 250.949,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.20121,
    "h": 282.7
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#4B32BB
secondary
#BCC980
accent
#E147C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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