#4A32AF#4A32AF

#4A32AF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.187 H 284.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4A32AF
RGBrgb(74, 50, 175)
HSLhsl(252, 56%, 44%)
HSVhsv(252, 71%, 69%)
CMYKcmyk(57.7%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.42, 44.33, -62.96)
CIE-LCHlch(31.42, 77.00, 305.15°)
OKLaboklab(42.81% 0.0453 -0.1813)
OKLCHoklch(42.81% 0.187 284)
XYZxyz(11.7001, 6.8315, 41.2512)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32AF #97AF32
analogous
#3259AF #4A32AF #8932AF
triadic
#4A32AF #AF4A32 #32AF4A
tetradic
#4A32AF #AF3259 #97AF32 #32AF89
square
#4A32AF #AF3259 #97AF32 #32AF89
split-complementary
#4A32AF #AF8932 #59AF32
monochromatic
#221750 #36247F #4A32AF #6951CD #9281DB

Accessibility & contrast

On white

8.87
#4A32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4A32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A32AF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32AF#FFFFFF#000000##FFFFFF
##4A32AF1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#14546D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a32af;
/* rgb */ color: rgb(74, 50, 175);
/* oklch */ color: oklch(42.8% 0.187 284.0);
Tailwind
colors: {
  custom: {
    50: '#886cc8',
    500: '#4a32af',
    950: '#000000',
  },
}
SCSS
$custom: #4a32af;
$custom-light: #886cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32af",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 251.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.18683,
    "h": 284
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#4A32AF
secondary
#B6C479
accent
#DF49C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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