#4D1760#4D1760

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

Color values

HEX#4D1760
RGBrgb(77, 23, 96)
HSLhsl(284, 61%, 23%)
HSVhsv(284, 76%, 38%)
CMYKcmyk(19.8%, 76%, 0%, 62.4%)
CIE-LABlab(20.18, 37.17, -31.77)
CIE-LCHlch(20.18, 48.90, 319.48°)
OKLaboklab(32.83% 0.0918 -0.0894)
OKLCHoklch(32.83% 0.128 315.7)
XYZxyz(5.4780, 3.0353, 11.3614)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1760 #2A6017
analogous
#281760 #4D1760 #60174E
triadic
#4D1760 #604D17 #17604D
tetradic
#4D1760 #602817 #2A6017 #174E60
square
#4D1760 #602817 #2A6017 #174E60
split-complementary
#4D1760 #4E6017 #176028
monochromatic
#140619 #250B2F #4D1760 #752391 #9C2FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D1760#FFFFFF#000000##FFFFFF
##4D17601.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)
#002E62
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#4C263A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1760;
/* rgb */ color: rgb(77, 23, 96);
/* oklch */ color: oklch(32.8% 0.128 315.7);
Tailwind
colors: {
  custom: {
    50: '#825a8e',
    500: '#4d1760',
    950: '#000000',
  },
}
SCSS
$custom: #4d1760;
$custom-light: #825a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1760",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 284.384,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32832,
    "c": 0.12814,
    "h": 315.7
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#4D1760
secondary
#54973C
accent
#E4436D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1760

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

Preview Lab → · Contrast checker → · Palette generator →

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