#4D1B60#4D1B60

#4D1B60 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.123 H 315.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4D1B60
RGBrgb(77, 27, 96)
HSLhsl(283, 56%, 24%)
HSVhsv(283, 72%, 38%)
CMYKcmyk(19.8%, 71.9%, 0%, 62.4%)
CIE-LABlab(20.85, 35.29, -30.70)
CIE-LCHlch(20.85, 46.77, 318.98°)
OKLaboklab(33.31% 0.087 -0.0863)
OKLCHoklch(33.31% 0.123 315.2)
XYZxyz(5.5635, 3.2064, 11.3899)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B60 #2E601B
analogous
#2B1B60 #4D1B60 #601B51
triadic
#4D1B60 #604D1B #1B604D
tetradic
#4D1B60 #602B1B #2E601B #1B5160
square
#4D1B60 #602B1B #2E601B #1B5160
split-complementary
#4D1B60 #51601B #1B602B
monochromatic
#130718 #270E30 #4D1B60 #732890 #9A36C0

Accessibility & contrast

On white

12.80
#4D1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B60
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B60#FFFFFF#000000##FFFFFF
##4D1B601.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#1A335E
Tritanopia (blue-blind)
#4C283B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1b60;
/* rgb */ color: rgb(77, 27, 96);
/* oklch */ color: oklch(33.3% 0.123 315.2);
Tailwind
colors: {
  custom: {
    50: '#815c8d',
    500: '#4d1b60',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b60;
$custom-light: #815c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b60",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 283.478,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33309,
    "c": 0.12254,
    "h": 315.2
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#4D1B60
secondary
#589641
accent
#DF4872
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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