#4D1756#4D1756

#4D1756 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.118 H 321.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4D1756
RGBrgb(77, 23, 86)
HSLhsl(291, 58%, 21%)
HSVhsv(291, 73%, 34%)
CMYKcmyk(10.5%, 73.3%, 0%, 66.3%)
CIE-LABlab(19.49, 34.97, -26.23)
CIE-LCHlch(19.49, 43.71, 323.13°)
OKLaboklab(32.11% 0.0925 -0.0732)
OKLCHoklch(32.11% 0.118 321.6)
XYZxyz(5.0465, 2.8627, 9.0890)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1756 #205617
analogous
#2E1756 #4D1756 #561740
triadic
#4D1756 #564D17 #17564D
tetradic
#4D1756 #562E17 #205617 #174056
square
#4D1756 #562E17 #205617 #174056
split-complementary
#4D1756 #405617 #17562E
monochromatic
#160618 #220A26 #4D1756 #782486 #A331B7

Accessibility & contrast

On white

13.36
#4D1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4D1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1756
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1756#FFFFFF#000000##FFFFFF
##4D17561.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B58
Deuteranopia (green-blind)
#1F3154
Tritanopia (blue-blind)
#4E2234
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1756;
/* rgb */ color: rgb(77, 23, 86);
/* oklch */ color: oklch(32.1% 0.118 321.6);
Tailwind
colors: {
  custom: {
    50: '#815986',
    500: '#4d1756',
    950: '#000000',
  },
}
SCSS
$custom: #4d1756;
$custom-light: #815986;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1756",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 291.429,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32108,
    "c": 0.11792,
    "h": 321.6
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#4D1756
secondary
#478D3C
accent
#E1475D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1756

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

Preview Lab → · Contrast checker → · Palette generator →

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