#4B32AA#4B32AA

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

Color values

HEX#4B32AA
RGBrgb(75, 50, 170)
HSLhsl(253, 55%, 43%)
HSVhsv(253, 71%, 67%)
CMYKcmyk(55.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(31.06, 42.97, -60.55)
CIE-LCHlch(31.06, 74.24, 305.36°)
OKLaboklab(42.44% 0.0477 -0.1742)
OKLCHoklch(42.44% 0.181 285.3)
XYZxyz(11.2958, 6.6787, 38.7163)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32AA #91AA32
analogous
#3255AA #4B32AA #8732AA
triadic
#4B32AA #AA4B32 #32AA4B
tetradic
#4B32AA #AA3255 #91AA32 #32AA87
square
#4B32AA #AA3255 #91AA32 #32AA87
split-complementary
#4B32AA #AA8732 #55AA32
monochromatic
#21164B #36247B #4B32AA #684ECB #917DD9

Accessibility & contrast

On white

8.99
#4B32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32AA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32AA#FFFFFF#000000##FFFFFF
##4B32AA1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#1F526A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b32aa;
/* rgb */ color: rgb(75, 50, 170);
/* oklch */ color: oklch(42.4% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#876cc4',
    500: '#4b32aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b32aa;
$custom-light: #876cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32aa",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 252.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.18056,
    "h": 285.3
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#4B32AA
secondary
#B2C276
accent
#DE4ABF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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