#4D1560#4D1560

#4D1560 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.131 H 316.0°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#4D1560
RGBrgb(77, 21, 96)
HSLhsl(285, 64%, 23%)
HSVhsv(285, 78%, 38%)
CMYKcmyk(19.8%, 78.1%, 0%, 62.4%)
CIE-LABlab(19.88, 38.04, -32.26)
CIE-LCHlch(19.88, 49.88, 319.70°)
OKLaboklab(32.61% 0.094 -0.0909)
OKLCHoklch(32.61% 0.131 316)
XYZxyz(5.4397, 2.9589, 11.3486)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1560 #286015
analogous
#271560 #4D1560 #60154D
triadic
#4D1560 #604D15 #15604D
tetradic
#4D1560 #602715 #286015 #154D60
square
#4D1560 #602715 #286015 #154D60
split-complementary
#4D1560 #4D6015 #156027
monochromatic
#140519 #250A2E #4D1560 #752092 #9E2BC4

Accessibility & contrast

On white

13.19
#4D1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1560
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1560#FFFFFF#000000##FFFFFF
##4D15601.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#14325E
Tritanopia (blue-blind)
#4C2539
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1560;
/* rgb */ color: rgb(77, 21, 96);
/* oklch */ color: oklch(32.6% 0.131 316.0);
Tailwind
colors: {
  custom: {
    50: '#82598e',
    500: '#4d1560',
    950: '#000000',
  },
}
SCSS
$custom: #4d1560;
$custom-light: #82598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1560",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 284.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.13073,
    "h": 316
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#4D1560
secondary
#51973A
accent
#E7416B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1560

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

Preview Lab → · Contrast checker → · Palette generator →

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