#4B2AA4#4B2AA4

#4B2AA4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.182 H 287.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA4
RGBrgb(75, 42, 164)
HSLhsl(256, 59%, 40%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54.3%, 74.4%, 0%, 35.7%)
CIE-LABlab(28.98, 45.47, -60.34)
CIE-LCHlch(28.98, 75.56, 307.00°)
OKLaboklab(40.8% 0.0557 -0.1735)
OKLCHoklch(40.8% 0.182 287.8)
XYZxyz(10.4285, 5.8316, 35.6909)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA4 #83A42A
analogous
#2A46A4 #4B2AA4 #882AA4
triadic
#4B2AA4 #A44B2A #2AA44B
tetradic
#4B2AA4 #A42A46 #83A42A #2AA488
square
#4B2AA4 #A42A46 #83A42A #2AA488
split-complementary
#4B2AA4 #A4882A #46A42A
monochromatic
#1E1143 #351E73 #4B2AA4 #653ECD #8C6EDA

Accessibility & contrast

On white

9.69
#4B2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4B2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AA4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA4#FFFFFF#000000##FFFFFF
##4B2AA41.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#274B65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2aa4;
/* rgb */ color: rgb(75, 42, 164);
/* oklch */ color: oklch(40.8% 0.182 287.8);
Tailwind
colors: {
  custom: {
    50: '#8767c0',
    500: '#4b2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa4;
$custom-light: #8767c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa4",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 256.23,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.18224,
    "h": 287.8
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#4B2AA4
secondary
#A9C169
accent
#E245B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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