#4A32AA#4A32AA

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

Color values

HEX#4A32AA
RGBrgb(74, 50, 170)
HSLhsl(252, 55%, 43%)
HSVhsv(252, 71%, 67%)
CMYKcmyk(56.5%, 70.6%, 0%, 33.3%)
CIE-LABlab(30.97, 42.81, -60.70)
CIE-LCHlch(30.97, 74.28, 305.19°)
OKLaboklab(42.35% 0.0462 -0.1746)
OKLCHoklch(42.35% 0.181 284.8)
XYZxyz(11.2181, 6.6387, 38.7127)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32AA #92AA32
analogous
#3256AA #4A32AA #8632AA
triadic
#4A32AA #AA4A32 #32AA4A
tetradic
#4A32AA #AA3256 #92AA32 #32AA86
square
#4A32AA #AA3256 #92AA32 #32AA86
split-complementary
#4A32AA #AA8632 #56AA32
monochromatic
#21164B #35247B #4A32AA #674ECB #907DD9

Accessibility & contrast

On white

9.02
#4A32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4A32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A32AA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32AA#FFFFFF#000000##FFFFFF
##4A32AA1.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)
#004CAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#1C526A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a32aa;
/* rgb */ color: rgb(74, 50, 170);
/* oklch */ color: oklch(42.4% 0.181 284.8);
Tailwind
colors: {
  custom: {
    50: '#876cc4',
    500: '#4a32aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a32aa;
$custom-light: #876cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32aa",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 252,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.18066,
    "h": 284.8
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#4A32AA
secondary
#B3C276
accent
#DE4AC0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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