#4D1753#4D1753

#4D1753 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.115 H 323.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#4D1753
RGBrgb(77, 23, 83)
HSLhsl(294, 57%, 21%)
HSVhsv(294, 72%, 33%)
CMYKcmyk(7.2%, 72.3%, 0%, 67.5%)
CIE-LABlab(19.29, 34.34, -24.52)
CIE-LCHlch(19.29, 42.19, 324.47°)
OKLaboklab(31.9% 0.0925 -0.0682)
OKLCHoklch(31.9% 0.115 323.6)
XYZxyz(4.9282, 2.8154, 8.4658)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1753 #1D5317
analogous
#2F1753 #4D1753 #53173B
triadic
#4D1753 #534D17 #17534D
tetradic
#4D1753 #532F17 #1D5317 #173B53
square
#4D1753 #532F17 #1D5317 #173B53
split-complementary
#4D1753 #3B5317 #17532F
monochromatic
#160718 #210A23 #4D1753 #792483 #A632B3

Accessibility & contrast

On white

13.44
#4D1753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1753
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1753#FFFFFF#000000##FFFFFF
##4D17531.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B55
Deuteranopia (green-blind)
#213151
Tritanopia (blue-blind)
#4E2133
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1753;
/* rgb */ color: rgb(77, 23, 83);
/* oklch */ color: oklch(31.9% 0.115 323.6);
Tailwind
colors: {
  custom: {
    50: '#815984',
    500: '#4d1753',
    950: '#000000',
  },
}
SCSS
$custom: #4d1753;
$custom-light: #815984;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1753",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 294,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31903,
    "c": 0.11493,
    "h": 323.6
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#4D1753
secondary
#448A3C
accent
#E04857
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1753

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

Preview Lab → · Contrast checker → · Palette generator →

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