#4A32B3#4A32B3

#4A32B3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.192 H 283.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4A32B3
RGBrgb(74, 50, 179)
HSLhsl(251, 56%, 45%)
HSVhsv(251, 72%, 70%)
CMYKcmyk(58.7%, 72.1%, 0%, 29.8%)
CIE-LABlab(31.79, 45.54, -64.74)
CIE-LCHlch(31.79, 79.16, 305.13°)
OKLaboklab(43.18% 0.0445 -0.1865)
OKLCHoklch(43.18% 0.192 283.4)
XYZxyz(12.0988, 6.9909, 43.3509)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32B3 #9BB332
analogous
#325AB3 #4A32B3 #8B32B3
triadic
#4A32B3 #B34A32 #32B34A
tetradic
#4A32B3 #B3325A #9BB332 #32B38B
square
#4A32B3 #B3325A #9BB332 #32B38B
split-complementary
#4A32B3 #B38B32 #5AB332
monochromatic
#221753 #362583 #4A32B3 #6A53CF #9483DC

Accessibility & contrast

On white

8.76
#4A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A32B3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32B3#FFFFFF#000000##FFFFFF
##4A32B31.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#0A556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a32b3;
/* rgb */ color: rgb(74, 50, 179);
/* oklch */ color: oklch(43.2% 0.192 283.4);
Tailwind
colors: {
  custom: {
    50: '#886ccb',
    500: '#4a32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a32b3;
$custom-light: #886ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32b3",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 251.163,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.19171,
    "h": 283.4
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#4A32B3
secondary
#B8C67B
accent
#E048C3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4A32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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