#4B2A96#4B2A96

#4B2A96 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.165 H 290.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4B2A96
RGBrgb(75, 42, 150)
HSLhsl(258, 56%, 38%)
HSVhsv(258, 72%, 59%)
CMYKcmyk(50%, 72%, 0%, 41.2%)
CIE-LABlab(27.72, 41.40, -53.88)
CIE-LCHlch(27.72, 67.95, 307.54°)
OKLaboklab(39.51% 0.0589 -0.1546)
OKLCHoklch(39.51% 0.165 290.8)
XYZxyz(9.2331, 5.3534, 29.3951)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A96 #75962A
analogous
#2A3F96 #4B2A96 #812A96
triadic
#4B2A96 #964B2A #2A964B
tetradic
#4B2A96 #962A3F #75962A #2A9681
square
#4B2A96 #962A3F #75962A #2A9681
split-complementary
#4B2A96 #96812A #3F962A
monochromatic
#1B0F36 #331D66 #4B2A96 #6337C6 #8866D4

Accessibility & contrast

On white

10.14
#4B2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4B2A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A96
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A96#FFFFFF#000000##FFFFFF
##4B2A961.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#32465D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2a96;
/* rgb */ color: rgb(75, 42, 150);
/* oklch */ color: oklch(39.5% 0.165 290.8);
Tailwind
colors: {
  custom: {
    50: '#8566b6',
    500: '#4b2a96',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a96;
$custom-light: #8566b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a96",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 258.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.1654,
    "h": 290.8
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#4B2A96
secondary
#9FBA61
accent
#E048B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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