#4B2152#4B2152

#4B2152 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.096 H 321.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4B2152
RGBrgb(75, 33, 82)
HSLhsl(291, 43%, 23%)
HSVhsv(291, 60%, 32%)
CMYKcmyk(8.5%, 59.8%, 0%, 67.8%)
CIE-LABlab(20.80, 28.33, -21.47)
CIE-LCHlch(20.80, 35.55, 322.84°)
OKLaboklab(32.92% 0.0755 -0.0595)
OKLCHoklch(32.92% 0.096 321.7)
XYZxyz(4.9683, 3.1930, 8.3356)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2152 #285221
analogous
#332152 #4B2152 #522140
triadic
#4B2152 #524B21 #21524B
tetradic
#4B2152 #523321 #285221 #214052
square
#4B2152 #523321 #285221 #214052
split-complementary
#4B2152 #405221 #215233
monochromatic
#140916 #230F26 #4B2152 #73337E #9B44A9

Accessibility & contrast

On white

12.82
#4B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4B2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2152
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2152#FFFFFF#000000##FFFFFF
##4B21521.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#263451
Tritanopia (blue-blind)
#4C2836
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b2152;
/* rgb */ color: rgb(75, 33, 82);
/* oklch */ color: oklch(32.9% 0.096 321.7);
Tailwind
colors: {
  custom: {
    50: '#7f5f83',
    500: '#4b2152',
    950: '#000000',
  },
}
SCSS
$custom: #4b2152;
$custom-light: #7f5f83;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2152",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 291.429,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32915,
    "c": 0.09613,
    "h": 321.7
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#4B2152
secondary
#518649
accent
#D25567
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4B2152

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

Preview Lab → · Contrast checker → · Palette generator →

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