#4732AD#4732AD

#4732AD is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.185 H 282.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#4732AD
RGBrgb(71, 50, 173)
HSLhsl(250, 55%, 44%)
HSVhsv(250, 71%, 68%)
CMYKcmyk(59%, 71.1%, 0%, 32.2%)
CIE-LABlab(30.97, 43.27, -62.52)
CIE-LCHlch(30.97, 76.03, 304.69°)
OKLaboklab(42.37% 0.0414 -0.1801)
OKLCHoklch(42.37% 0.185 282.9)
XYZxyz(11.2796, 6.6372, 40.2138)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732AD #98AD32
analogous
#325AAD #4732AD #8432AD
triadic
#4732AD #AD4732 #32AD47
tetradic
#4732AD #AD325A #98AD32 #32AD84
square
#4732AD #AD325A #98AD32 #32AD84
split-complementary
#4732AD #AD8432 #5AAD32
monochromatic
#20174E #34247E #4732AD #6550CC #8F7FDA

Accessibility & contrast

On white

9.02
#4732AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4732AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732AD
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732AD#FFFFFF#000000##FFFFFF
##4732AD1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#06536C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4732ad;
/* rgb */ color: rgb(71, 50, 173);
/* oklch */ color: oklch(42.4% 0.185 282.9);
Tailwind
colors: {
  custom: {
    50: '#866cc7',
    500: '#4732ad',
    950: '#000000',
  },
}
SCSS
$custom: #4732ad;
$custom-light: #866cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4732ad",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 250.244,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.18476,
    "h": 282.9
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#4732AD
secondary
#B6C378
accent
#DE49C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4732AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva