#4B2AA1#4B2AA1

#4B2AA1 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.179 H 288.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA1
RGBrgb(75, 42, 161)
HSLhsl(257, 59%, 40%)
HSVhsv(257, 74%, 63%)
CMYKcmyk(53.4%, 73.9%, 0%, 36.9%)
CIE-LABlab(28.71, 44.60, -58.98)
CIE-LCHlch(28.71, 73.94, 307.10°)
OKLaboklab(40.52% 0.0564 -0.1695)
OKLCHoklch(40.52% 0.179 288.4)
XYZxyz(10.1608, 5.7245, 34.2809)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA1 #80A12A
analogous
#2A44A1 #4B2AA1 #872AA1
triadic
#4B2AA1 #A14B2A #2AA14B
tetradic
#4B2AA1 #A12A44 #80A12A #2AA187
square
#4B2AA1 #A12A44 #80A12A #2AA187
split-complementary
#4B2AA1 #A1872A #44A12A
monochromatic
#1E1140 #341D70 #4B2AA1 #643CCC #8B6DD9

Accessibility & contrast

On white

9.79
#4B2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AA1
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA1#FFFFFF#000000##FFFFFF
##4B2AA11.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#2A4A63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2aa1;
/* rgb */ color: rgb(75, 42, 161);
/* oklch */ color: oklch(40.5% 0.179 288.4);
Tailwind
colors: {
  custom: {
    50: '#8667be',
    500: '#4b2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa1;
$custom-light: #8667be;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa1",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 256.639,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40518,
    "c": 0.17867,
    "h": 288.4
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#4B2AA1
secondary
#A7C067
accent
#E246B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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