#4B2FA9#4B2FA9

#4B2FA9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.183 H 286.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4B2FA9
RGBrgb(75, 47, 169)
HSLhsl(254, 56%, 42%)
HSVhsv(254, 72%, 66%)
CMYKcmyk(55.6%, 72.2%, 0%, 33.7%)
CIE-LABlab(30.38, 44.31, -61.06)
CIE-LCHlch(30.38, 75.44, 305.97°)
OKLaboklab(41.93% 0.0504 -0.1757)
OKLCHoklch(41.93% 0.183 286)
XYZxyz(11.0774, 6.3928, 38.1787)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2FA9 #8DA92F
analogous
#2F50A9 #4B2FA9 #882FA9
triadic
#4B2FA9 #A94B2F #2FA94B
tetradic
#4B2FA9 #A92F50 #8DA92F #2FA988
square
#4B2FA9 #A92F50 #8DA92F #2FA988
split-complementary
#4B2FA9 #A9882F #50A92F
monochromatic
#201449 #362279 #4B2FA9 #6749CC #8F79DA

Accessibility & contrast

On white

9.22
#4B2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2FA9
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2FA9#FFFFFF#000000##FFFFFF
##4B2FA91.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#215069
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2fa9;
/* rgb */ color: rgb(75, 47, 169);
/* oklch */ color: oklch(41.9% 0.183 286.0);
Tailwind
colors: {
  custom: {
    50: '#876ac4',
    500: '#4b2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2fa9;
$custom-light: #876ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2fa9",
  "rgb": {
    "r": 75,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 253.77,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.18275,
    "h": 286
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#4B2FA9
secondary
#B0C272
accent
#E048BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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