#4D1564#4D1564

#4D1564 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.135 H 313.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#4D1564
RGBrgb(77, 21, 100)
HSLhsl(283, 65%, 24%)
HSVhsv(283, 79%, 39%)
CMYKcmyk(23%, 79%, 0%, 60.8%)
CIE-LABlab(20.18, 38.94, -34.41)
CIE-LCHlch(20.18, 51.97, 318.53°)
OKLaboklab(32.92% 0.0934 -0.0972)
OKLCHoklch(32.92% 0.135 313.9)
XYZxyz(5.6286, 3.0344, 12.3433)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1564 #2C6415
analogous
#251564 #4D1564 #641553
triadic
#4D1564 #644D15 #15644D
tetradic
#4D1564 #642515 #2C6415 #155364
square
#4D1564 #642515 #2C6415 #155364
split-complementary
#4D1564 #536415 #156425
monochromatic
#130519 #260A31 #4D1564 #742097 #9B2AC9

Accessibility & contrast

On white

13.07
#4D1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4D1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1564
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1564#FFFFFF#000000##FFFFFF
##4D15641.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#0F3262
Tritanopia (blue-blind)
#4B273B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1564;
/* rgb */ color: rgb(77, 21, 100);
/* oklch */ color: oklch(32.9% 0.135 313.9);
Tailwind
colors: {
  custom: {
    50: '#825991',
    500: '#4d1564',
    950: '#000000',
  },
}
SCSS
$custom: #4d1564;
$custom-light: #825991;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1564",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 282.532,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.13478,
    "h": 313.9
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#4D1564
secondary
#569B3A
accent
#E84071
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #4D1564

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

Preview Lab → · Contrast checker → · Palette generator →

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