#4B1952#4B1952

#4B1952 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.110 H 322.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4B1952
RGBrgb(75, 25, 82)
HSLhsl(293, 53%, 21%)
HSVhsv(293, 70%, 32%)
CMYKcmyk(8.5%, 69.5%, 0%, 67.8%)
CIE-LABlab(19.23, 32.62, -23.96)
CIE-LCHlch(19.23, 40.47, 323.69°)
OKLaboklab(31.77% 0.0872 -0.0667)
OKLCHoklch(31.77% 0.11 322.6)
XYZxyz(4.7721, 2.8006, 8.2702)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1952 #205219
analogous
#2E1952 #4B1952 #52193C
triadic
#4B1952 #524B19 #19524B
tetradic
#4B1952 #522E19 #205219 #193C52
square
#4B1952 #522E19 #205219 #193C52
split-complementary
#4B1952 #3C5219 #19522E
monochromatic
#150717 #200B23 #4B1952 #762781 #A136B0

Accessibility & contrast

On white

13.46
#4B1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4B1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1952
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1952#FFFFFF#000000##FFFFFF
##4B19521.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B54
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#4C2233
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4b1952;
/* rgb */ color: rgb(75, 25, 82);
/* oklch */ color: oklch(31.8% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#7f5a83',
    500: '#4b1952',
    950: '#000000',
  },
}
SCSS
$custom: #4b1952;
$custom-light: #7f5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1952",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 292.632,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31768,
    "c": 0.10975,
    "h": 322.6
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#4B1952
secondary
#47883E
accent
#DD4B5D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4B1952

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

Preview Lab → · Contrast checker → · Palette generator →

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