#4732AE#4732AE

#4732AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.186 H 282.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4732AE
RGBrgb(71, 50, 174)
HSLhsl(250, 55%, 44%)
HSVhsv(250, 71%, 68%)
CMYKcmyk(59.2%, 71.3%, 0%, 31.8%)
CIE-LABlab(31.06, 43.58, -62.97)
CIE-LCHlch(31.06, 76.58, 304.69°)
OKLaboklab(42.46% 0.0412 -0.1814)
OKLCHoklch(42.46% 0.186 282.8)
XYZxyz(11.3768, 6.6760, 40.7253)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732AE #99AE32
analogous
#325BAE #4732AE #8532AE
triadic
#4732AE #AE4732 #32AE47
tetradic
#4732AE #AE325B #99AE32 #32AE85
square
#4732AE #AE325B #99AE32 #32AE85
split-complementary
#4732AE #AE8532 #5BAE32
monochromatic
#20174F #34247E #4732AE #6550CD #8F80DA

Accessibility & contrast

On white

8.99
#4732AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4732AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732AE
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732AE#FFFFFF#000000##FFFFFF
##4732AE1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#03536C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4732ae;
/* rgb */ color: rgb(71, 50, 174);
/* oklch */ color: oklch(42.5% 0.186 282.8);
Tailwind
colors: {
  custom: {
    50: '#866cc7',
    500: '#4732ae',
    950: '#000000',
  },
}
SCSS
$custom: #4732ae;
$custom-light: #866cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4732ae",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 250.161,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42459,
    "c": 0.186,
    "h": 282.8
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#4732AE
secondary
#B7C478
accent
#DF49C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732AE

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

Preview Lab → · Contrast checker → · Palette generator →

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