#4D32C2#4D32C2

#4D32C2 is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.209 H 282.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4D32C2
RGBrgb(77, 50, 194)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 76%)
CMYKcmyk(60.3%, 74.2%, 0%, 23.9%)
CIE-LABlab(33.46, 50.45, -70.84)
CIE-LCHlch(33.46, 86.97, 305.46°)
OKLaboklab(44.86% 0.0454 -0.2042)
OKLCHoklch(44.86% 0.209 282.5)
XYZxyz(13.9357, 7.7531, 51.7906)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C2 #A7C232
analogous
#325FC2 #4D32C2 #9532C2
triadic
#4D32C2 #C24D32 #32C24D
tetradic
#4D32C2 #C2325F #A7C232 #32C295
square
#4D32C2 #C2325F #A7C232 #32C295
split-complementary
#4D32C2 #C29532 #5FC232
monochromatic
#261961 #3A2591 #4D32C2 #735CD5 #9D8DE2

Accessibility & contrast

On white

8.23
#4D32C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D32C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C2#FFFFFF#000000##FFFFFF
##4D32C21.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d32c2;
/* rgb */ color: rgb(77, 50, 194);
/* oklch */ color: oklch(44.9% 0.209 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c6dd6',
    500: '#4d32c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c2;
$custom-light: #8c6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c2",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 251.25,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.20922,
    "h": 282.5
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#4D32C2
secondary
#BECC84
accent
#E246C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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