#4B2AA5#4B2AA5

#4B2AA5 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.183 H 287.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA5
RGBrgb(75, 42, 165)
HSLhsl(256, 59%, 41%)
HSVhsv(256, 75%, 65%)
CMYKcmyk(54.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(29.08, 45.76, -60.79)
CIE-LCHlch(29.08, 76.09, 306.97°)
OKLaboklab(40.89% 0.0555 -0.1748)
OKLCHoklch(40.89% 0.183 287.6)
XYZxyz(10.5191, 5.8679, 36.1683)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA5 #84A52A
analogous
#2A46A5 #4B2AA5 #882AA5
triadic
#4B2AA5 #A54B2A #2AA54B
tetradic
#4B2AA5 #A52A46 #84A52A #2AA588
square
#4B2AA5 #A52A46 #84A52A #2AA588
split-complementary
#4B2AA5 #A5882A #46A52A
monochromatic
#1F1143 #351E74 #4B2AA5 #653ECE #8C6FDA

Accessibility & contrast

On white

9.66
#4B2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2AA5
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA5#FFFFFF#000000##FFFFFF
##4B2AA51.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#264C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2aa5;
/* rgb */ color: rgb(75, 42, 165);
/* oklch */ color: oklch(40.9% 0.183 287.6);
Tailwind
colors: {
  custom: {
    50: '#8767c1',
    500: '#4b2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa5;
$custom-light: #8767c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa5",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 256.098,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40893,
    "c": 0.18343,
    "h": 287.6
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#4B2AA5
secondary
#AAC169
accent
#E345B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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