#4B32AF#4B32AF

#4B32AF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.187 H 284.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4B32AF
RGBrgb(75, 50, 175)
HSLhsl(252, 56%, 44%)
HSVhsv(252, 71%, 69%)
CMYKcmyk(57.1%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.51, 44.48, -62.80)
CIE-LCHlch(31.51, 76.96, 305.31°)
OKLaboklab(42.9% 0.0467 -0.1808)
OKLCHoklch(42.9% 0.187 284.5)
XYZxyz(11.7778, 6.8715, 41.2548)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32AF #96AF32
analogous
#3258AF #4B32AF #8A32AF
triadic
#4B32AF #AF4B32 #32AF4B
tetradic
#4B32AF #AF3258 #96AF32 #32AF8A
square
#4B32AF #AF3258 #96AF32 #32AF8A
split-complementary
#4B32AF #AF8A32 #58AF32
monochromatic
#221750 #37247F #4B32AF #6A51CD #9381DB

Accessibility & contrast

On white

8.84
#4B32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B32AF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32AF#FFFFFF#000000##FFFFFF
##4B32AF1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b32af;
/* rgb */ color: rgb(75, 50, 175);
/* oklch */ color: oklch(42.9% 0.187 284.5);
Tailwind
colors: {
  custom: {
    50: '#886cc8',
    500: '#4b32af',
    950: '#000000',
  },
}
SCSS
$custom: #4b32af;
$custom-light: #886cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32af",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 252,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.429,
    "c": 0.1867,
    "h": 284.5
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#4B32AF
secondary
#B5C479
accent
#DF49C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4B32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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