#4D1668#4D1668

#4D1668 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.138 H 311.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4D1668
RGBrgb(77, 22, 104)
HSLhsl(280, 65%, 25%)
HSVhsv(280, 79%, 41%)
CMYKcmyk(26%, 78.8%, 0%, 59.2%)
CIE-LABlab(20.64, 39.44, -36.30)
CIE-LCHlch(20.64, 53.60, 317.37°)
OKLaboklab(33.35% 0.0917 -0.1027)
OKLCHoklch(33.35% 0.138 311.8)
XYZxyz(5.8457, 3.1512, 13.3943)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1668 #316816
analogous
#241668 #4D1668 #68165A
triadic
#4D1668 #684D16 #16684D
tetradic
#4D1668 #682416 #316816 #165A68
square
#4D1668 #682416 #316816 #165A68
split-complementary
#4D1668 #5A6816 #166824
monochromatic
#130519 #280B35 #4D1668 #72219B #982BCD

Accessibility & contrast

On white

12.88
#4D1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1668
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1668#FFFFFF#000000##FFFFFF
##4D16681.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#093366
Tritanopia (blue-blind)
#4A293E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1668;
/* rgb */ color: rgb(77, 22, 104);
/* oklch */ color: oklch(33.3% 0.138 311.8);
Tailwind
colors: {
  custom: {
    50: '#825a94',
    500: '#4d1668',
    950: '#000000',
  },
}
SCSS
$custom: #4d1668;
$custom-light: #825a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1668",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 280.244,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33348,
    "c": 0.13768,
    "h": 311.8
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#4D1668
secondary
#5C9F3B
accent
#E84077
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1668

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

Preview Lab → · Contrast checker → · Palette generator →

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