#4B2B9D#4B2B9D

#4B2B9D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.173 H 289.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4B2B9D
RGBrgb(75, 43, 157)
HSLhsl(257, 57%, 39%)
HSVhsv(257, 73%, 62%)
CMYKcmyk(52.2%, 72.6%, 0%, 38.4%)
CIE-LABlab(28.53, 42.91, -56.83)
CIE-LCHlch(28.53, 71.21, 307.05°)
OKLaboklab(40.28% 0.0565 -0.1632)
OKLCHoklch(40.28% 0.173 289.1)
XYZxyz(9.8496, 5.6575, 32.4648)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B9D #7D9D2B
analogous
#2B449D #4B2B9D #842B9D
triadic
#4B2B9D #9D4B2B #2B9D4B
tetradic
#4B2B9D #9D2B44 #7D9D2B #2B9D84
square
#4B2B9D #9D2B44 #7D9D2B #2B9D84
split-complementary
#4B2B9D #9D842B #449D2B
monochromatic
#1D113D #341E6D #4B2B9D #643CCA #8A6CD7

Accessibility & contrast

On white

9.85
#4B2B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2B9D
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B9D#FFFFFF#000000##FFFFFF
##4B2B9D1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#2D4961
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2b9d;
/* rgb */ color: rgb(75, 43, 157);
/* oklch */ color: oklch(40.3% 0.173 289.1);
Tailwind
colors: {
  custom: {
    50: '#8667bb',
    500: '#4b2b9d',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b9d;
$custom-light: #8667bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b9d",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 256.842,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.17272,
    "h": 289.1
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#4B2B9D
secondary
#A5BD66
accent
#E048B5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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