#4D32BF#4D32BF

#4D32BF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.206 H 283.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D32BF
RGBrgb(77, 50, 191)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 75%)
CMYKcmyk(59.7%, 73.8%, 0%, 25.1%)
CIE-LABlab(33.18, 49.56, -69.55)
CIE-LCHlch(33.18, 85.40, 305.47°)
OKLaboklab(44.58% 0.0461 -0.2004)
OKLCHoklch(44.58% 0.206 283)
XYZxyz(13.6022, 7.6197, 50.0341)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32BF #A4BF32
analogous
#325EBF #4D32BF #9332BF
triadic
#4D32BF #BF4D32 #32BF4D
tetradic
#4D32BF #BF325E #A4BF32 #32BF93
square
#4D32BF #BF325E #A4BF32 #32BF93
split-complementary
#4D32BF #BF9332 #5EBF32
monochromatic
#26195E #39258E #4D32BF #725AD4 #9B8BE1

Accessibility & contrast

On white

8.32
#4D32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32BF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32BF#FFFFFF#000000##FFFFFF
##4D32BF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d32bf;
/* rgb */ color: rgb(77, 50, 191);
/* oklch */ color: oklch(44.6% 0.206 283.0);
Tailwind
colors: {
  custom: {
    50: '#8c6dd4',
    500: '#4d32bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d32bf;
$custom-light: #8c6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32bf",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 251.489,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.20567,
    "h": 283
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#4D32BF
secondary
#BDCB82
accent
#E246C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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