#4B2154#4B2154

#4B2154 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.098 H 320.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4B2154
RGBrgb(75, 33, 84)
HSLhsl(289, 44%, 23%)
HSVhsv(289, 61%, 33%)
CMYKcmyk(10.7%, 60.7%, 0%, 67.1%)
CIE-LABlab(20.92, 28.78, -22.63)
CIE-LCHlch(20.92, 36.61, 321.82°)
OKLaboklab(33.04% 0.0757 -0.0629)
OKLCHoklch(33.04% 0.098 320.3)
XYZxyz(5.0455, 3.2239, 8.7423)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2154 #2A5421
analogous
#312154 #4B2154 #542143
triadic
#4B2154 #544B21 #21544B
tetradic
#4B2154 #543121 #2A5421 #214354
square
#4B2154 #543121 #2A5421 #214354
split-complementary
#4B2154 #435421 #215431
monochromatic
#140916 #241028 #4B2154 #723280 #9944AC

Accessibility & contrast

On white

12.77
#4B2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2154
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2154#FFFFFF#000000##FFFFFF
##4B21541.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F56
Deuteranopia (green-blind)
#253453
Tritanopia (blue-blind)
#4C2937
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b2154;
/* rgb */ color: rgb(75, 33, 84);
/* oklch */ color: oklch(33.0% 0.098 320.3);
Tailwind
colors: {
  custom: {
    50: '#7f5f84',
    500: '#4b2154',
    950: '#000000',
  },
}
SCSS
$custom: #4b2154;
$custom-light: #7f5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2154",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 289.412,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.0984,
    "h": 320.3
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#4B2154
secondary
#548849
accent
#D3546B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4B2154

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

Preview Lab → · Contrast checker → · Palette generator →

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