#4732AC#4732AC

#4732AC is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.184 H 283.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4732AC
RGBrgb(71, 50, 172)
HSLhsl(250, 55%, 44%)
HSVhsv(250, 71%, 67%)
CMYKcmyk(58.7%, 70.9%, 0%, 32.5%)
CIE-LABlab(30.88, 42.96, -62.07)
CIE-LCHlch(30.88, 75.49, 304.69°)
OKLaboklab(42.27% 0.0416 -0.1787)
OKLCHoklch(42.27% 0.184 283.1)
XYZxyz(11.1832, 6.5986, 39.7061)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732AC #97AC32
analogous
#325AAC #4732AC #8432AC
triadic
#4732AC #AC4732 #32AC47
tetradic
#4732AC #AC325A #97AC32 #32AC84
square
#4732AC #AC325A #97AC32 #32AC84
split-complementary
#4732AC #AC8432 #5AAC32
monochromatic
#20164D #33247D #4732AC #654FCC #8E7FDA

Accessibility & contrast

On white

9.05
#4732AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4732AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732AC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732AC#FFFFFF#000000##FFFFFF
##4732AC1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#0A536B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4732ac;
/* rgb */ color: rgb(71, 50, 172);
/* oklch */ color: oklch(42.3% 0.184 283.1);
Tailwind
colors: {
  custom: {
    50: '#856cc6',
    500: '#4732ac',
    950: '#000000',
  },
}
SCSS
$custom: #4732ac;
$custom-light: #856cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4732ac",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 250.328,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.18352,
    "h": 283.1
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#4732AC
secondary
#B6C377
accent
#DE4AC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732AC

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

Preview Lab → · Contrast checker → · Palette generator →

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