#4B32C2#4B32C2

#4B32C2 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.210 H 281.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4B32C2
RGBrgb(75, 50, 194)
HSLhsl(250, 59%, 48%)
HSVhsv(250, 74%, 76%)
CMYKcmyk(61.3%, 74.2%, 0%, 23.9%)
CIE-LABlab(33.29, 50.20, -71.13)
CIE-LCHlch(33.29, 87.06, 305.21°)
OKLaboklab(44.7% 0.0426 -0.2051)
OKLCHoklch(44.7% 0.21 281.7)
XYZxyz(13.7768, 7.6711, 51.7832)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32C2 #A9C232
analogous
#3261C2 #4B32C2 #9332C2
triadic
#4B32C2 #C24B32 #32C24B
tetradic
#4B32C2 #C23261 #A9C232 #32C293
square
#4B32C2 #C23261 #A9C232 #32C293
split-complementary
#4B32C2 #C29332 #61C232
monochromatic
#251961 #382591 #4B32C2 #715CD5 #9C8DE2

Accessibility & contrast

On white

8.29
#4B32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4B32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32C2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32C2#FFFFFF#000000##FFFFFF
##4B32C21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b32c2;
/* rgb */ color: rgb(75, 50, 194);
/* oklch */ color: oklch(44.7% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#8b6dd6',
    500: '#4b32c2',
    950: '#000000',
  },
}
SCSS
$custom: #4b32c2;
$custom-light: #8b6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32c2",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 250.417,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.20951,
    "h": 281.7
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#4B32C2
secondary
#BFCC84
accent
#E246C7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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