#4D1460#4D1460

#4D1460 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.132 H 316.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4D1460
RGBrgb(77, 20, 96)
HSLhsl(285, 66%, 23%)
HSVhsv(285, 79%, 38%)
CMYKcmyk(19.8%, 79.2%, 0%, 62.4%)
CIE-LABlab(19.73, 38.46, -32.50)
CIE-LCHlch(19.73, 50.35, 319.80°)
OKLaboklab(32.51% 0.0951 -0.0915)
OKLCHoklch(32.51% 0.132 316.1)
XYZxyz(5.4217, 2.9228, 11.3426)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1460 #276014
analogous
#271460 #4D1460 #60144D
triadic
#4D1460 #604D14 #14604D
tetradic
#4D1460 #602714 #276014 #144D60
square
#4D1460 #602714 #276014 #144D60
split-complementary
#4D1460 #4D6014 #146027
monochromatic
#140519 #24092D #4D1460 #761F93 #9E29C5

Accessibility & contrast

On white

13.25
#4D1460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1460
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1460#FFFFFF#000000##FFFFFF
##4D14601.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#13315E
Tritanopia (blue-blind)
#4C2439
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1460;
/* rgb */ color: rgb(77, 20, 96);
/* oklch */ color: oklch(32.5% 0.132 316.1);
Tailwind
colors: {
  custom: {
    50: '#82588e',
    500: '#4d1460',
    950: '#000000',
  },
}
SCSS
$custom: #4d1460;
$custom-light: #82588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1460",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 285,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.13197,
    "h": 316.1
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#4D1460
secondary
#509838
accent
#E83F6A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1460

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

Preview Lab → · Contrast checker → · Palette generator →

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