#4B2A97#4B2A97

#4B2A97 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.167 H 290.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4B2A97
RGBrgb(75, 42, 151)
HSLhsl(258, 56%, 38%)
HSVhsv(258, 72%, 59%)
CMYKcmyk(50.3%, 72.2%, 0%, 40.8%)
CIE-LABlab(27.81, 41.69, -54.35)
CIE-LCHlch(27.81, 68.50, 307.49°)
OKLaboklab(39.6% 0.0586 -0.156)
OKLCHoklch(39.6% 0.167 290.6)
XYZxyz(9.3139, 5.3858, 29.8210)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A97 #76972A
analogous
#2A3F97 #4B2A97 #812A97
triadic
#4B2A97 #974B2A #2A974B
tetradic
#4B2A97 #972A3F #76972A #2A9781
square
#4B2A97 #972A3F #76972A #2A9781
split-complementary
#4B2A97 #97812A #3F972A
monochromatic
#1B0F37 #331D67 #4B2A97 #6337C7 #8867D5

Accessibility & contrast

On white

10.11
#4B2A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B2A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A97
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A97#FFFFFF#000000##FFFFFF
##4B2A971.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#31465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2a97;
/* rgb */ color: rgb(75, 42, 151);
/* oklch */ color: oklch(39.6% 0.167 290.6);
Tailwind
colors: {
  custom: {
    50: '#8566b7',
    500: '#4b2a97',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a97;
$custom-light: #8566b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a97",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 258.165,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39604,
    "c": 0.16662,
    "h": 290.6
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#4B2A97
secondary
#A0BB62
accent
#E048B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2A97

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

Preview Lab → · Contrast checker → · Palette generator →

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