#4D32C7#4D32C7

#4D32C7 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.215 H 281.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4D32C7
RGBrgb(77, 50, 199)
HSLhsl(251, 60%, 49%)
HSVhsv(251, 75%, 78%)
CMYKcmyk(61.3%, 74.9%, 0%, 22%)
CIE-LABlab(33.94, 51.93, -72.97)
CIE-LCHlch(33.94, 89.57, 305.44°)
OKLaboklab(45.35% 0.0442 -0.2105)
OKLCHoklch(45.35% 0.215 281.9)
XYZxyz(14.5067, 7.9815, 54.7979)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C7 #ACC732
analogous
#3262C7 #4D32C7 #9832C7
triadic
#4D32C7 #C74D32 #32C74D
tetradic
#4D32C7 #C73262 #ACC732 #32C798
square
#4D32C7 #C73262 #ACC732 #32C798
split-complementary
#4D32C7 #C79832 #62C732
monochromatic
#271965 #3A2696 #4D32C7 #755FD7 #9F90E3

Accessibility & contrast

On white

8.09
#4D32C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D32C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C7#FFFFFF#000000##FFFFFF
##4D32C71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d32c7;
/* rgb */ color: rgb(77, 50, 199);
/* oklch */ color: oklch(45.3% 0.215 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d6dd9',
    500: '#4d32c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c7;
$custom-light: #8d6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c7",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 250.872,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.21506,
    "h": 281.9
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#4D32C7
secondary
#C1CE87
accent
#E345C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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