#4D32AB#4D32AB

#4D32AB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.182 H 286.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4D32AB
RGBrgb(77, 50, 171)
HSLhsl(253, 55%, 43%)
HSVhsv(253, 71%, 67%)
CMYKcmyk(55%, 70.8%, 0%, 32.9%)
CIE-LABlab(31.34, 43.59, -60.68)
CIE-LCHlch(31.34, 74.71, 305.69°)
OKLaboklab(42.72% 0.0504 -0.1745)
OKLCHoklch(42.72% 0.182 286.1)
XYZxyz(11.5497, 6.7986, 39.2239)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32AB #90AB32
analogous
#3254AB #4D32AB #8932AB
triadic
#4D32AB #AB4D32 #32AB4D
tetradic
#4D32AB #AB3254 #90AB32 #32AB89
square
#4D32AB #AB3254 #90AB32 #32AB89
split-complementary
#4D32AB #AB8932 #54AB32
monochromatic
#22164C #38247C #4D32AB #6B4FCB #927ED9

Accessibility & contrast

On white

8.90
#4D32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4D32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32AB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32AB#FFFFFF#000000##FFFFFF
##4D32AB1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#24526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d32ab;
/* rgb */ color: rgb(77, 50, 171);
/* oklch */ color: oklch(42.7% 0.182 286.1);
Tailwind
colors: {
  custom: {
    50: '#896cc5',
    500: '#4d32ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d32ab;
$custom-light: #896cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32ab",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 253.388,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.1816,
    "h": 286.1
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#4D32AB
secondary
#B1C277
accent
#DE4ABD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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