#4B2AAC#4B2AAC

#4B2AAC is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.192 H 286.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4B2AAC
RGBrgb(75, 42, 172)
HSLhsl(255, 61%, 42%)
HSVhsv(255, 76%, 67%)
CMYKcmyk(56.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(29.74, 47.80, -63.92)
CIE-LCHlch(29.74, 79.81, 306.79°)
OKLaboklab(41.56% 0.0537 -0.184)
OKLCHoklch(41.56% 0.192 286.3)
XYZxyz(11.1738, 6.1297, 39.6161)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AAC #8BAC2A
analogous
#2A4AAC #4B2AAC #8C2AAC
triadic
#4B2AAC #AC4B2A #2AAC4B
tetradic
#4B2AAC #AC2A4A #8BAC2A #2AAC8C
square
#4B2AAC #AC2A4A #8BAC2A #2AAC8C
split-complementary
#4B2AAC #AC8C2A #4AAC2A
monochromatic
#20124A #361E7B #4B2AAC #6642D1 #8E73DD

Accessibility & contrast

On white

9.43
#4B2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AAC
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AAC#FFFFFF#000000##FFFFFF
##4B2AAC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#1E4E69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2aac;
/* rgb */ color: rgb(75, 42, 172);
/* oklch */ color: oklch(41.6% 0.192 286.3);
Tailwind
colors: {
  custom: {
    50: '#8867c6',
    500: '#4b2aac',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aac;
$custom-light: #8867c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aac",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 255.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.19167,
    "h": 286.3
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#4B2AAC
secondary
#AEC46D
accent
#E444BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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