#4D32AF#4D32AF

#4D32AF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.186 H 285.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4D32AF
RGBrgb(77, 50, 175)
HSLhsl(253, 56%, 44%)
HSVhsv(253, 71%, 69%)
CMYKcmyk(56%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.70, 44.78, -62.49)
CIE-LCHlch(31.70, 76.88, 305.63°)
OKLaboklab(43.08% 0.0496 -0.1798)
OKLCHoklch(43.08% 0.187 285.4)
XYZxyz(11.9367, 6.9534, 41.2623)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32AF #94AF32
analogous
#3256AF #4D32AF #8C32AF
triadic
#4D32AF #AF4D32 #32AF4D
tetradic
#4D32AF #AF3256 #94AF32 #32AF8C
square
#4D32AF #AF3256 #94AF32 #32AF8C
split-complementary
#4D32AF #AF8C32 #56AF32
monochromatic
#231750 #38247F #4D32AF #6C51CD #9481DB

Accessibility & contrast

On white

8.78
#4D32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4D32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32AF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32AF#FFFFFF#000000##FFFFFF
##4D32AF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#20536D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d32af;
/* rgb */ color: rgb(77, 50, 175);
/* oklch */ color: oklch(43.1% 0.186 285.4);
Tailwind
colors: {
  custom: {
    50: '#896cc8',
    500: '#4d32af',
    950: '#000000',
  },
}
SCSS
$custom: #4d32af;
$custom-light: #896cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32af",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 252.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.1865,
    "h": 285.4
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#4D32AF
secondary
#B4C479
accent
#DF49BE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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