#4B1552#4B1552

#4B1552 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.116 H 322.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4B1552
RGBrgb(75, 21, 82)
HSLhsl(293, 59%, 20%)
HSVhsv(293, 74%, 32%)
CMYKcmyk(8.5%, 74.4%, 0%, 67.8%)
CIE-LABlab(18.55, 34.52, -25.04)
CIE-LCHlch(18.55, 42.65, 324.04°)
OKLaboklab(31.28% 0.0923 -0.0698)
OKLCHoklch(31.28% 0.116 322.9)
XYZxyz(4.6927, 2.6416, 8.2437)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1552 #1C5215
analogous
#2D1552 #4B1552 #52153A
triadic
#4B1552 #524B15 #15524B
tetradic
#4B1552 #522D15 #1C5215 #153A52
square
#4B1552 #522D15 #1C5215 #153A52
split-complementary
#4B1552 #3A5215 #15522D
monochromatic
#160618 #1E0921 #4B1552 #782183 #A42EB3

Accessibility & contrast

On white

13.74
#4B1552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4B1552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1552
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1552#FFFFFF#000000##FFFFFF
##4B15521.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042954
Deuteranopia (green-blind)
#1E2F50
Tritanopia (blue-blind)
#4C1F31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4b1552;
/* rgb */ color: rgb(75, 21, 82);
/* oklch */ color: oklch(31.3% 0.116 322.9);
Tailwind
colors: {
  custom: {
    50: '#805883',
    500: '#4b1552',
    950: '#000000',
  },
}
SCSS
$custom: #4b1552;
$custom-light: #805883;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1552",
  "rgb": {
    "r": 75,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 293.115,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31279,
    "c": 0.11575,
    "h": 322.9
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#4B1552
secondary
#428A39
accent
#E24557
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #4B1552

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

Preview Lab → · Contrast checker → · Palette generator →

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