#4D1666#4D1666

#4D1666 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.136 H 312.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#4D1666
RGBrgb(77, 22, 102)
HSLhsl(281, 65%, 24%)
HSVhsv(281, 78%, 40%)
CMYKcmyk(24.5%, 78.4%, 0%, 60%)
CIE-LABlab(20.48, 38.97, -35.24)
CIE-LCHlch(20.48, 52.54, 317.88°)
OKLaboklab(33.19% 0.092 -0.0996)
OKLCHoklch(33.19% 0.136 312.7)
XYZxyz(5.7453, 3.1111, 12.8656)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1666 #2F6616
analogous
#251666 #4D1666 #661657
triadic
#4D1666 #664D16 #16664D
tetradic
#4D1666 #662516 #2F6616 #165766
square
#4D1666 #662516 #2F6616 #165766
split-complementary
#4D1666 #576616 #166625
monochromatic
#130519 #270B34 #4D1666 #732198 #992CCB

Accessibility & contrast

On white

12.95
#4D1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1666
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1666#FFFFFF#000000##FFFFFF
##4D16661.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#0D3264
Tritanopia (blue-blind)
#4A283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1666;
/* rgb */ color: rgb(77, 22, 102);
/* oklch */ color: oklch(33.2% 0.136 312.7);
Tailwind
colors: {
  custom: {
    50: '#825a92',
    500: '#4d1666',
    950: '#000000',
  },
}
SCSS
$custom: #4d1666;
$custom-light: #825a92;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1666",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 281.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33188,
    "c": 0.13561,
    "h": 312.7
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#4D1666
secondary
#5A9D3B
accent
#E84075
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1666

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

Preview Lab → · Contrast checker → · Palette generator →

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