#4D1659#4D1659

#4D1659 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.122 H 319.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4D1659
RGBrgb(77, 22, 89)
HSLhsl(289, 60%, 22%)
HSVhsv(289, 75%, 35%)
CMYKcmyk(13.5%, 75.3%, 0%, 65.1%)
CIE-LABlab(19.53, 36.07, -28.17)
CIE-LCHlch(19.53, 45.76, 322.01°)
OKLaboklab(32.2% 0.0935 -0.0789)
OKLCHoklch(32.2% 0.122 319.9)
XYZxyz(5.1504, 2.8731, 9.7325)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1659 #225916
analogous
#2C1659 #4D1659 #591644
triadic
#4D1659 #594D16 #16594D
tetradic
#4D1659 #592C16 #225916 #164459
square
#4D1659 #592C16 #225916 #164459
split-complementary
#4D1659 #445916 #16592C
monochromatic
#150619 #230A28 #4D1659 #77228A #A22EBB

Accessibility & contrast

On white

13.34
#4D1659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1659
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1659#FFFFFF#000000##FFFFFF
##4D16591.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#4D2236
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1659;
/* rgb */ color: rgb(77, 22, 89);
/* oklch */ color: oklch(32.2% 0.122 319.9);
Tailwind
colors: {
  custom: {
    50: '#815988',
    500: '#4d1659',
    950: '#000000',
  },
}
SCSS
$custom: #4d1659;
$custom-light: #815988;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1659",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 289.254,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.12235,
    "h": 319.9
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#4D1659
secondary
#4A903B
accent
#E44461
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1659

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

Preview Lab → · Contrast checker → · Palette generator →

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