#4D1966#4D1966

#4D1966 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.132 H 312.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4D1966
RGBrgb(77, 25, 102)
HSLhsl(281, 61%, 25%)
HSVhsv(281, 75%, 40%)
CMYKcmyk(24.5%, 75.5%, 0%, 60%)
CIE-LABlab(20.95, 37.64, -34.48)
CIE-LCHlch(20.95, 51.05, 317.51°)
OKLaboklab(33.52% 0.0888 -0.0974)
OKLCHoklch(33.52% 0.132 312.3)
XYZxyz(5.8060, 3.2325, 12.8859)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1966 #326619
analogous
#261966 #4D1966 #661959
triadic
#4D1966 #664D19 #19664D
tetradic
#4D1966 #662619 #326619 #195966
square
#4D1966 #662619 #326619 #195966
split-complementary
#4D1966 #596619 #196626
monochromatic
#130619 #280D35 #4D1966 #722597 #9731C8

Accessibility & contrast

On white

12.76
#4D1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4D1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1966
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1966#FFFFFF#000000##FFFFFF
##4D19661.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#103364
Tritanopia (blue-blind)
#4A2A3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1966;
/* rgb */ color: rgb(77, 25, 102);
/* oklch */ color: oklch(33.5% 0.132 312.3);
Tailwind
colors: {
  custom: {
    50: '#825b92',
    500: '#4d1966',
    950: '#000000',
  },
}
SCSS
$custom: #4d1966;
$custom-light: #825b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1966",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 280.519,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33521,
    "c": 0.13178,
    "h": 312.3
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#4D1966
secondary
#5D9C3F
accent
#E44478
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1966

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

Preview Lab → · Contrast checker → · Palette generator →

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