#4B20AE#4B20AE

#4B20AE is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.203 H 287.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4B20AE
RGBrgb(75, 32, 174)
HSLhsl(258, 69%, 40%)
HSVhsv(258, 82%, 68%)
CMYKcmyk(56.9%, 81.6%, 0%, 31.8%)
CIE-LABlab(28.34, 52.96, -67.43)
CIE-LCHlch(28.34, 85.74, 308.15°)
OKLaboklab(40.64% 0.0598 -0.1941)
OKLCHoklch(40.64% 0.203 287.1)
XYZxyz(11.0559, 5.5843, 40.5315)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B20AE #83AE20
analogous
#203CAE #4B20AE #9220AE
triadic
#4B20AE #AE4B20 #20AE4B
tetradic
#4B20AE #AE203C #83AE20 #20AE92
square
#4B20AE #AE203C #83AE20 #20AE92
split-complementary
#4B20AE #AE9220 #3CAE20
monochromatic
#1E0D47 #35167A #4B20AE #6532D9 #8C66E3

Accessibility & contrast

On white

9.92
#4B20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B20AE
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B20AE#FFFFFF#000000##FFFFFF
##4B20AE1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#1C4B68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b20ae;
/* rgb */ color: rgb(75, 32, 174);
/* oklch */ color: oklch(40.6% 0.203 287.1);
Tailwind
colors: {
  custom: {
    50: '#8962c7',
    500: '#4b20ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b20ae;
$custom-light: #8962c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b20ae",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 258.169,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.20315,
    "h": 287.1
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#4B20AE
secondary
#A9C862
accent
#EC3CB7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4B20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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