#4D1561#4D1561

#4D1561 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.132 H 315.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#4D1561
RGBrgb(77, 21, 97)
HSLhsl(284, 64%, 23%)
HSVhsv(284, 78%, 38%)
CMYKcmyk(20.6%, 78.4%, 0%, 62%)
CIE-LABlab(19.95, 38.26, -32.80)
CIE-LCHlch(19.95, 50.40, 319.39°)
OKLaboklab(32.69% 0.0939 -0.0924)
OKLCHoklch(32.69% 0.132 315.4)
XYZxyz(5.4861, 2.9774, 11.5927)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1561 #296115
analogous
#271561 #4D1561 #61154F
triadic
#4D1561 #614D15 #15614D
tetradic
#4D1561 #612715 #296115 #154F61
square
#4D1561 #612715 #296115 #154F61
split-complementary
#4D1561 #4F6115 #156127
monochromatic
#140519 #250A2F #4D1561 #752093 #9D2BC6

Accessibility & contrast

On white

13.16
#4D1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1561
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1561#FFFFFF#000000##FFFFFF
##4D15611.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#13325F
Tritanopia (blue-blind)
#4B253A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1561;
/* rgb */ color: rgb(77, 21, 97);
/* oklch */ color: oklch(32.7% 0.132 315.4);
Tailwind
colors: {
  custom: {
    50: '#82598e',
    500: '#4d1561',
    950: '#000000',
  },
}
SCSS
$custom: #4d1561;
$custom-light: #82598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1561",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 284.211,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32691,
    "c": 0.13174,
    "h": 315.4
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#4D1561
secondary
#52983A
accent
#E7406C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1561

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

Preview Lab → · Contrast checker → · Palette generator →

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