#4D1654#4D1654

#4D1654 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.117 H 323.0°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4D1654
RGBrgb(77, 22, 84)
HSLhsl(293, 58%, 21%)
HSVhsv(293, 74%, 33%)
CMYKcmyk(8.3%, 73.8%, 0%, 67.1%)
CIE-LABlab(19.19, 35.01, -25.35)
CIE-LCHlch(19.19, 43.22, 324.09°)
OKLaboklab(31.85% 0.0937 -0.0706)
OKLCHoklch(31.85% 0.117 323)
XYZxyz(4.9476, 2.7920, 8.6641)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1654 #1D5416
analogous
#2E1654 #4D1654 #54163C
triadic
#4D1654 #544D16 #16544D
tetradic
#4D1654 #542E16 #1D5416 #163C54
square
#4D1654 #542E16 #1D5416 #163C54
split-complementary
#4D1654 #3C5416 #16542E
monochromatic
#160618 #210924 #4D1654 #792384 #A62FB5

Accessibility & contrast

On white

13.48
#4D1654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1654
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1654#FFFFFF#000000##FFFFFF
##4D16541.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A56
Deuteranopia (green-blind)
#1F3152
Tritanopia (blue-blind)
#4E2033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1654;
/* rgb */ color: rgb(77, 22, 84);
/* oklch */ color: oklch(31.9% 0.117 323.0);
Tailwind
colors: {
  custom: {
    50: '#815984',
    500: '#4d1654',
    950: '#000000',
  },
}
SCSS
$custom: #4d1654;
$custom-light: #815984;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1654",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 293.226,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31854,
    "c": 0.11737,
    "h": 323
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#4D1654
secondary
#448B3A
accent
#E24658
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1654

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

Preview Lab → · Contrast checker → · Palette generator →

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