#4D1656#4D1656

#4D1656 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.119 H 321.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4D1656
RGBrgb(77, 22, 86)
HSLhsl(292, 59%, 21%)
HSVhsv(292, 74%, 34%)
CMYKcmyk(10.5%, 74.4%, 0%, 66.3%)
CIE-LABlab(19.32, 35.43, -26.48)
CIE-LCHlch(19.32, 44.23, 323.22°)
OKLaboklab(31.99% 0.0937 -0.0739)
OKLCHoklch(31.99% 0.119 321.7)
XYZxyz(5.0270, 2.8238, 9.0825)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1656 #1F5616
analogous
#2D1656 #4D1656 #56163F
triadic
#4D1656 #564D16 #16564D
tetradic
#4D1656 #562D16 #1F5616 #163F56
square
#4D1656 #562D16 #1F5616 #163F56
split-complementary
#4D1656 #3F5616 #16562D
monochromatic
#160618 #210A25 #4D1656 #792287 #A42FB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D1656#FFFFFF#000000##FFFFFF
##4D16561.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)
#022B58
Deuteranopia (green-blind)
#1E3154
Tritanopia (blue-blind)
#4E2134
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1656;
/* rgb */ color: rgb(77, 22, 86);
/* oklch */ color: oklch(32.0% 0.119 321.7);
Tailwind
colors: {
  custom: {
    50: '#815986',
    500: '#4d1656',
    950: '#000000',
  },
}
SCSS
$custom: #4d1656;
$custom-light: #815986;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1656",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 291.563,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.11935,
    "h": 321.7
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#4D1656
secondary
#468D3A
accent
#E2455B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1656

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

Preview Lab → · Contrast checker → · Palette generator →

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