#4D32C8#4D32C8

#4D32C8 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.216 H 281.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4D32C8
RGBrgb(77, 50, 200)
HSLhsl(251, 60%, 49%)
HSVhsv(251, 75%, 78%)
CMYKcmyk(61.5%, 75%, 0%, 21.6%)
CIE-LABlab(34.04, 52.22, -73.40)
CIE-LCHlch(34.04, 90.08, 305.43°)
OKLaboklab(45.45% 0.044 -0.2117)
OKLCHoklch(45.45% 0.216 281.7)
XYZxyz(14.6232, 8.0281, 55.4114)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C8 #ADC832
analogous
#3262C8 #4D32C8 #9832C8
triadic
#4D32C8 #C84D32 #32C84D
tetradic
#4D32C8 #C83262 #ADC832 #32C898
square
#4D32C8 #C83262 #ADC832 #32C898
split-complementary
#4D32C8 #C89832 #62C832
monochromatic
#271A66 #3A2697 #4D32C8 #7560D7 #A091E3

Accessibility & contrast

On white

8.06
#4D32C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D32C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C8
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C8#FFFFFF#000000##FFFFFF
##4D32C81.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d32c8;
/* rgb */ color: rgb(77, 50, 200);
/* oklch */ color: oklch(45.4% 0.216 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d6eda',
    500: '#4d32c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c8;
$custom-light: #8d6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c8",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 250.8,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.21622,
    "h": 281.7
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#4D32C8
secondary
#C2CE88
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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