#4B2AA2#4B2AA2

#4B2AA2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.180 H 288.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA2
RGBrgb(75, 42, 162)
HSLhsl(257, 59%, 40%)
HSVhsv(257, 74%, 64%)
CMYKcmyk(53.7%, 74.1%, 0%, 36.5%)
CIE-LABlab(28.80, 44.89, -59.43)
CIE-LCHlch(28.80, 74.48, 307.06°)
OKLaboklab(40.61% 0.0562 -0.1709)
OKLCHoklch(40.61% 0.18 288.2)
XYZxyz(10.2493, 5.7599, 34.7471)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA2 #81A22A
analogous
#2A45A2 #4B2AA2 #872AA2
triadic
#4B2AA2 #A24B2A #2AA24B
tetradic
#4B2AA2 #A22A45 #81A22A #2AA287
square
#4B2AA2 #A22A45 #81A22A #2AA287
split-complementary
#4B2AA2 #A2872A #45A22A
monochromatic
#1E1141 #341D71 #4B2AA2 #643DCD #8B6DD9

Accessibility & contrast

On white

9.76
#4B2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2AA2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA2#FFFFFF#000000##FFFFFF
##4B2AA21.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#294A64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2aa2;
/* rgb */ color: rgb(75, 42, 162);
/* oklch */ color: oklch(40.6% 0.180 288.2);
Tailwind
colors: {
  custom: {
    50: '#8767bf',
    500: '#4b2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa2;
$custom-light: #8767bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa2",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 256.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.17986,
    "h": 288.2
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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