#4B2AA8#4B2AA8

#4B2AA8 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.187 H 287.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA8
RGBrgb(75, 42, 168)
HSLhsl(256, 60%, 41%)
HSVhsv(256, 75%, 66%)
CMYKcmyk(55.4%, 75%, 0%, 34.1%)
CIE-LABlab(29.36, 46.63, -62.14)
CIE-LCHlch(29.36, 77.69, 306.89°)
OKLaboklab(41.18% 0.0547 -0.1788)
OKLCHoklch(41.18% 0.187 287)
XYZxyz(10.7954, 5.9784, 37.6233)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA8 #87A82A
analogous
#2A48A8 #4B2AA8 #8A2AA8
triadic
#4B2AA8 #A84B2A #2AA84B
tetradic
#4B2AA8 #A82A48 #87A82A #2AA88A
square
#4B2AA8 #A82A48 #87A82A #2AA88A
split-complementary
#4B2AA8 #A88A2A #48A82A
monochromatic
#1F1246 #351E77 #4B2AA8 #6540CF #8D71DB

Accessibility & contrast

On white

9.56
#4B2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2AA8
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA8#FFFFFF#000000##FFFFFF
##4B2AA81.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#234D67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2aa8;
/* rgb */ color: rgb(75, 42, 168);
/* oklch */ color: oklch(41.2% 0.187 287.0);
Tailwind
colors: {
  custom: {
    50: '#8867c3',
    500: '#4b2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa8;
$custom-light: #8867c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa8",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 255.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.18697,
    "h": 287
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#4B2AA8
secondary
#ACC36B
accent
#E345BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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