#4B2AA9#4B2AA9

#4B2AA9 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.188 H 286.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA9
RGBrgb(75, 42, 169)
HSLhsl(256, 60%, 41%)
HSVhsv(256, 75%, 66%)
CMYKcmyk(55.6%, 75.1%, 0%, 33.7%)
CIE-LABlab(29.45, 46.92, -62.59)
CIE-LCHlch(29.45, 78.22, 306.86°)
OKLaboklab(41.27% 0.0545 -0.1801)
OKLCHoklch(41.27% 0.188 286.8)
XYZxyz(10.8889, 6.0158, 38.1158)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA9 #88A92A
analogous
#2A48A9 #4B2AA9 #8B2AA9
triadic
#4B2AA9 #A94B2A #2AA94B
tetradic
#4B2AA9 #A92A48 #88A92A #2AA98B
square
#4B2AA9 #A92A48 #88A92A #2AA98B
split-complementary
#4B2AA9 #A98B2A #48A92A
monochromatic
#1F1247 #351E78 #4B2AA9 #6641D0 #8D72DC

Accessibility & contrast

On white

9.53
#4B2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AA9
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA9#FFFFFF#000000##FFFFFF
##4B2AA91.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#224D67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2aa9;
/* rgb */ color: rgb(75, 42, 169);
/* oklch */ color: oklch(41.3% 0.188 286.8);
Tailwind
colors: {
  custom: {
    50: '#8867c4',
    500: '#4b2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa9;
$custom-light: #8867c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa9",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 255.591,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41272,
    "c": 0.18815,
    "h": 286.8
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#4B2AA9
secondary
#ACC36C
accent
#E344BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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