#4D32C9#4D32C9

#4D32C9 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.217 H 281.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4D32C9
RGBrgb(77, 50, 201)
HSLhsl(251, 60%, 49%)
HSVhsv(251, 75%, 79%)
CMYKcmyk(61.7%, 75.1%, 0%, 21.2%)
CIE-LABlab(34.14, 52.52, -73.82)
CIE-LCHlch(34.14, 90.60, 305.43°)
OKLaboklab(45.54% 0.0437 -0.2129)
OKLCHoklch(45.54% 0.217 281.6)
XYZxyz(14.7405, 8.0750, 56.0289)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C9 #AEC932
analogous
#3263C9 #4D32C9 #9832C9
triadic
#4D32C9 #C94D32 #32C94D
tetradic
#4D32C9 #C93263 #AEC932 #32C998
square
#4D32C9 #C93263 #AEC932 #32C998
split-complementary
#4D32C9 #C99832 #63C932
monochromatic
#271A67 #3A2698 #4D32C9 #7661D8 #A092E4

Accessibility & contrast

On white

8.03
#4D32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C9
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C9#FFFFFF#000000##FFFFFF
##4D32C91.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d32c9;
/* rgb */ color: rgb(77, 50, 201);
/* oklch */ color: oklch(45.5% 0.217 281.6);
Tailwind
colors: {
  custom: {
    50: '#8e6edb',
    500: '#4d32c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c9;
$custom-light: #8e6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c9",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 250.728,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.21738,
    "h": 281.6
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#4D32C9
secondary
#C2CF88
accent
#E344C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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