#4B2D99#4B2D99

#4B2D99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.165 H 289.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2D99
RGBrgb(75, 45, 153)
HSLhsl(257, 55%, 39%)
HSVhsv(257, 71%, 60%)
CMYKcmyk(51%, 70.6%, 0%, 40%)
CIE-LABlab(28.57, 40.65, -54.33)
CIE-LCHlch(28.57, 67.85, 306.80°)
OKLaboklab(40.2% 0.0554 -0.1559)
OKLCHoklch(40.2% 0.165 289.6)
XYZxyz(9.5881, 5.6721, 30.7204)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D99 #7B992D
analogous
#2D4599 #4B2D99 #812D99
triadic
#4B2D99 #994B2D #2D994B
tetradic
#4B2D99 #992D45 #7B992D #2D9981
square
#4B2D99 #992D45 #7B992D #2D9981
split-complementary
#4B2D99 #99812D #45992D
monochromatic
#1D113A #341F6A #4B2D99 #633DC6 #896CD4

Accessibility & contrast

On white

9.84
#4B2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4B2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D99
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D99#FFFFFF#000000##FFFFFF
##4B2D991.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#30495F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2d99;
/* rgb */ color: rgb(75, 45, 153);
/* oklch */ color: oklch(40.2% 0.165 289.6);
Tailwind
colors: {
  custom: {
    50: '#8568b8',
    500: '#4b2d99',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d99;
$custom-light: #8568b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d99",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 256.667,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.16546,
    "h": 289.6
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#4B2D99
secondary
#A4BB67
accent
#DE4AB5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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