#4B2A99#4B2A99

#4B2A99 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.169 H 290.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4B2A99
RGBrgb(75, 42, 153)
HSLhsl(258, 57%, 38%)
HSVhsv(258, 73%, 60%)
CMYKcmyk(51%, 72.5%, 0%, 40%)
CIE-LABlab(27.98, 42.27, -55.29)
CIE-LCHlch(27.98, 69.60, 307.40°)
OKLaboklab(39.78% 0.0582 -0.1587)
OKLCHoklch(39.78% 0.169 290.1)
XYZxyz(9.4777, 5.4513, 30.6836)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A99 #78992A
analogous
#2A4099 #4B2A99 #822A99
triadic
#4B2A99 #994B2A #2A994B
tetradic
#4B2A99 #992A40 #78992A #2A9982
square
#4B2A99 #992A40 #78992A #2A9982
split-complementary
#4B2A99 #99822A #40992A
monochromatic
#1C1039 #331D69 #4B2A99 #6338C8 #8868D6

Accessibility & contrast

On white

10.05
#4B2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4B2A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A99
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A99#FFFFFF#000000##FFFFFF
##4B2A991.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#30475E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2a99;
/* rgb */ color: rgb(75, 42, 153);
/* oklch */ color: oklch(39.8% 0.169 290.1);
Tailwind
colors: {
  custom: {
    50: '#8567b8',
    500: '#4b2a99',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a99;
$custom-light: #8567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a99",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 257.838,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.16905,
    "h": 290.1
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#4B2A99
secondary
#A1BC63
accent
#E048B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2A99

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

Preview Lab → · Contrast checker → · Palette generator →

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