#4D1B53#4D1B53

#4D1B53 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 323.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4D1B53
RGBrgb(77, 27, 83)
HSLhsl(294, 51%, 22%)
HSVhsv(294, 67%, 33%)
CMYKcmyk(7.2%, 67.5%, 0%, 67.5%)
CIE-LABlab(19.99, 32.39, -23.41)
CIE-LCHlch(19.99, 39.96, 324.15°)
OKLaboklab(32.41% 0.0871 -0.065)
OKLCHoklch(32.41% 0.109 323.3)
XYZxyz(5.0137, 2.9865, 8.4943)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B53 #21531B
analogous
#311B53 #4D1B53 #531B3D
triadic
#4D1B53 #534D1B #1B534D
tetradic
#4D1B53 #53311B #21531B #1B3D53
square
#4D1B53 #53311B #21531B #1B3D53
split-complementary
#4D1B53 #3D531B #1B5331
monochromatic
#150817 #220C25 #4D1B53 #782A81 #A339AF

Accessibility & contrast

On white

13.15
#4D1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4D1B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B53
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B53#FFFFFF#000000##FFFFFF
##4D1B531.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102C55
Deuteranopia (green-blind)
#233252
Tritanopia (blue-blind)
#4E2334
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1b53;
/* rgb */ color: rgb(77, 27, 83);
/* oklch */ color: oklch(32.4% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#815b83',
    500: '#4d1b53',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b53;
$custom-light: #815b83;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b53",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 293.571,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32409,
    "c": 0.10873,
    "h": 323.3
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#4D1B53
secondary
#498941
accent
#DA4D5D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040B
muted
#7C797C

Preview Lab

Preview with #4D1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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