#4D32C4#4D32C4

#4D32C4 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.212 H 282.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4D32C4
RGBrgb(77, 50, 196)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 77%)
CMYKcmyk(60.7%, 74.5%, 0%, 23.1%)
CIE-LABlab(33.65, 51.04, -71.70)
CIE-LCHlch(33.65, 88.01, 305.45°)
OKLaboklab(45.06% 0.0449 -0.2067)
OKLCHoklch(45.06% 0.212 282.3)
XYZxyz(14.1619, 7.8435, 52.9815)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C4 #A9C432
analogous
#3260C4 #4D32C4 #9632C4
triadic
#4D32C4 #C44D32 #32C44D
tetradic
#4D32C4 #C43260 #A9C432 #32C496
square
#4D32C4 #C43260 #A9C432 #32C496
split-complementary
#4D32C4 #C49632 #60C432
monochromatic
#271962 #3A2693 #4D32C4 #745DD6 #9E8EE2

Accessibility & contrast

On white

8.17
#4D32C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D32C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C4#FFFFFF#000000##FFFFFF
##4D32C41.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d32c4;
/* rgb */ color: rgb(77, 50, 196);
/* oklch */ color: oklch(45.1% 0.212 282.3);
Tailwind
colors: {
  custom: {
    50: '#8d6dd7',
    500: '#4d32c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c4;
$custom-light: #8d6dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c4",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 251.096,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.21155,
    "h": 282.3
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#4D32C4
secondary
#BFCD85
accent
#E345C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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