#4D1667#4D1667

#4D1667 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.137 H 312.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4D1667
RGBrgb(77, 22, 103)
HSLhsl(281, 65%, 25%)
HSVhsv(281, 79%, 40%)
CMYKcmyk(25.2%, 78.6%, 0%, 59.6%)
CIE-LABlab(20.56, 39.20, -35.77)
CIE-LCHlch(20.56, 53.07, 317.62°)
OKLaboklab(33.27% 0.0919 -0.1012)
OKLCHoklch(33.27% 0.137 312.2)
XYZxyz(5.7952, 3.1310, 13.1284)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1667 #306716
analogous
#251667 #4D1667 #671659
triadic
#4D1667 #674D16 #16674D
tetradic
#4D1667 #672516 #306716 #165967
square
#4D1667 #672516 #306716 #165967
split-complementary
#4D1667 #596716 #166725
monochromatic
#130519 #270B35 #4D1667 #732199 #982CCC

Accessibility & contrast

On white

12.91
#4D1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1667
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1667#FFFFFF#000000##FFFFFF
##4D16671.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#0B3365
Tritanopia (blue-blind)
#4A283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1667;
/* rgb */ color: rgb(77, 22, 103);
/* oklch */ color: oklch(33.3% 0.137 312.2);
Tailwind
colors: {
  custom: {
    50: '#825a93',
    500: '#4d1667',
    950: '#000000',
  },
}
SCSS
$custom: #4d1667;
$custom-light: #825a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1667",
  "rgb": {
    "r": 77,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 280.741,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.13664,
    "h": 312.2
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#4D1667
secondary
#5B9E3B
accent
#E84076
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1667

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

Preview Lab → · Contrast checker → · Palette generator →

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