#4D32BC#4D32BC

#4D32BC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.3% C 0.202 H 283.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4D32BC
RGBrgb(77, 50, 188)
HSLhsl(252, 58%, 47%)
HSVhsv(252, 73%, 74%)
CMYKcmyk(59%, 73.4%, 0%, 26.3%)
CIE-LABlab(32.90, 48.67, -68.24)
CIE-LCHlch(32.90, 83.82, 305.49°)
OKLaboklab(44.29% 0.0468 -0.1966)
OKLCHoklch(44.29% 0.202 283.4)
XYZxyz(13.2755, 7.4890, 48.3132)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32BC #A1BC32
analogous
#325CBC #4D32BC #9232BC
triadic
#4D32BC #BC4D32 #32BC4D
tetradic
#4D32BC #BC325C #A1BC32 #32BC92
square
#4D32BC #BC325C #A1BC32 #32BC92
split-complementary
#4D32BC #BC9232 #5CBC32
monochromatic
#25185B #39258C #4D32BC #7058D3 #9A89E0

Accessibility & contrast

On white

8.41
#4D32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D32BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32BC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32BC#FFFFFF#000000##FFFFFF
##4D32BC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#035874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d32bc;
/* rgb */ color: rgb(77, 50, 188);
/* oklch */ color: oklch(44.3% 0.202 283.4);
Tailwind
colors: {
  custom: {
    50: '#8b6dd1',
    500: '#4d32bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d32bc;
$custom-light: #8b6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32bc",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 251.739,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.20213,
    "h": 283.4
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#4D32BC
secondary
#BBC980
accent
#E147C3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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