#4B2B76#4B2B76

#4B2B76 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.0% C 0.124 H 300.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4B2B76
RGBrgb(75, 43, 118)
HSLhsl(266, 47%, 32%)
HSVhsv(266, 64%, 46%)
CMYKcmyk(36.4%, 63.6%, 0%, 53.7%)
CIE-LABlab(25.36, 31.67, -37.73)
CIE-LCHlch(25.36, 49.26, 310.01°)
OKLaboklab(37.01% 0.0619 -0.1071)
OKLCHoklch(37.01% 0.124 300)
XYZxyz(7.0347, 4.5316, 17.6401)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B76 #56762B
analogous
#2B3176 #4B2B76 #712B76
triadic
#4B2B76 #764B2B #2B764B
tetradic
#4B2B76 #762B31 #56762B #2B7671
square
#4B2B76 #762B31 #56762B #2B7671
split-complementary
#4B2B76 #76712B #31762B
monochromatic
#120A1C #2E1B49 #4B2B76 #683BA3 #8659C2

Accessibility & contrast

On white

11.02
#4B2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2B76
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B76#FFFFFF#000000##FFFFFF
##4B2B761.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#103C74
Tritanopia (blue-blind)
#423B4C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2b76;
/* rgb */ color: rgb(75, 43, 118);
/* oklch */ color: oklch(37.0% 0.124 300.0);
Tailwind
colors: {
  custom: {
    50: '#81669e',
    500: '#4b2b76',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b76;
$custom-light: #81669e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b76",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 265.6,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.12371,
    "h": 300
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#4B2B76
secondary
#84A855
accent
#D6529E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #4B2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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