#4732AA#4732AA

#4732AA is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.181 H 283.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4732AA
RGBrgb(71, 50, 170)
HSLhsl(251, 55%, 43%)
HSVhsv(251, 71%, 67%)
CMYKcmyk(58.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(30.69, 42.34, -61.17)
CIE-LCHlch(30.69, 74.39, 304.69°)
OKLaboklab(42.09% 0.042 -0.1761)
OKLCHoklch(42.09% 0.181 283.4)
XYZxyz(10.9926, 6.5224, 38.7021)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732AA #95AA32
analogous
#3259AA #4732AA #8332AA
triadic
#4732AA #AA4732 #32AA47
tetradic
#4732AA #AA3259 #95AA32 #32AA83
square
#4732AA #AA3259 #95AA32 #32AA83
split-complementary
#4732AA #AA8332 #59AA32
monochromatic
#1F164B #33247B #4732AA #644ECB #8D7DD9

Accessibility & contrast

On white

9.11
#4732AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4732AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4732AA#FFFFFF#000000##FFFFFF
##4732AA1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#0F526A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4732aa;
/* rgb */ color: rgb(71, 50, 170);
/* oklch */ color: oklch(42.1% 0.181 283.4);
Tailwind
colors: {
  custom: {
    50: '#856cc4',
    500: '#4732aa',
    950: '#000000',
  },
}
SCSS
$custom: #4732aa;
$custom-light: #856cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4732aa",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 250.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.18103,
    "h": 283.4
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#4732AA
secondary
#B4C276
accent
#DE4AC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4732AA

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

Preview Lab → · Contrast checker → · Palette generator →

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