#4B2A94#4B2A94

#4B2A94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.163 H 291.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4B2A94
RGBrgb(75, 42, 148)
HSLhsl(259, 56%, 37%)
HSVhsv(259, 72%, 58%)
CMYKcmyk(49.3%, 71.6%, 0%, 42%)
CIE-LABlab(27.54, 40.82, -52.94)
CIE-LCHlch(27.54, 66.85, 307.64°)
OKLaboklab(39.34% 0.0593 -0.1518)
OKLCHoklch(39.34% 0.163 291.3)
XYZxyz(9.0734, 5.2896, 28.5541)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2A94 #73942A
analogous
#2A3E94 #4B2A94 #802A94
triadic
#4B2A94 #944B2A #2A944B
tetradic
#4B2A94 #942A3E #73942A #2A9480
square
#4B2A94 #942A3E #73942A #2A9480
split-complementary
#4B2A94 #94802A #3E942A
monochromatic
#1B0F35 #331C64 #4B2A94 #6338C4 #8765D3

Accessibility & contrast

On white

10.20
#4B2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2A94
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2A94#FFFFFF#000000##FFFFFF
##4B2A941.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#33455C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2a94;
/* rgb */ color: rgb(75, 42, 148);
/* oklch */ color: oklch(39.3% 0.163 291.3);
Tailwind
colors: {
  custom: {
    50: '#8466b4',
    500: '#4b2a94',
    950: '#000000',
  },
}
SCSS
$custom: #4b2a94;
$custom-light: #8466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2a94",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 258.679,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.16296,
    "h": 291.3
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#4B2A94
secondary
#9EB960
accent
#DF49B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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