#4D1160#4D1160

#4D1160 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.135 H 316.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4D1160
RGBrgb(77, 17, 96)
HSLhsl(286, 70%, 22%)
HSVhsv(286, 82%, 38%)
CMYKcmyk(19.8%, 82.3%, 0%, 62.4%)
CIE-LABlab(19.32, 39.63, -33.16)
CIE-LCHlch(19.32, 51.67, 320.08°)
OKLaboklab(32.22% 0.0981 -0.0935)
OKLCHoklch(32.22% 0.135 316.4)
XYZxyz(5.3720, 2.8234, 11.3261)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1160 #246011
analogous
#261160 #4D1160 #60114C
triadic
#4D1160 #604D11 #11604D
tetradic
#4D1160 #602611 #246011 #114C60
square
#4D1160 #602611 #246011 #114C60
split-complementary
#4D1160 #4C6011 #116026
monochromatic
#15051A #23082C #4D1160 #771A94 #A023C8

Accessibility & contrast

On white

13.42
#4D1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1160
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1160#FFFFFF#000000##FFFFFF
##4D11601.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#11305E
Tritanopia (blue-blind)
#4C2338
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1160;
/* rgb */ color: rgb(77, 17, 96);
/* oklch */ color: oklch(32.2% 0.135 316.4);
Tailwind
colors: {
  custom: {
    50: '#82578e',
    500: '#4d1160',
    950: '#000000',
  },
}
SCSS
$custom: #4d1160;
$custom-light: #82578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1160",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 285.57,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32221,
    "c": 0.13546,
    "h": 316.4
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#4D1160
secondary
#4C9934
accent
#ED3B66
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D1160

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

Preview Lab → · Contrast checker → · Palette generator →

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