#4D1867#4D1867

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

Color values

HEX#4D1867
RGBrgb(77, 24, 103)
HSLhsl(280, 62%, 25%)
HSVhsv(280, 77%, 40%)
CMYKcmyk(25.2%, 76.7%, 0%, 59.6%)
CIE-LABlab(20.87, 38.33, -35.27)
CIE-LCHlch(20.87, 52.09, 317.38°)
OKLaboklab(33.49% 0.0897 -0.0997)
OKLCHoklch(33.49% 0.134 312)
XYZxyz(5.8349, 3.2105, 13.1416)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1867 #326718
analogous
#251867 #4D1867 #67185A
triadic
#4D1867 #674D18 #18674D
tetradic
#4D1867 #672518 #326718 #185A67
square
#4D1867 #672518 #326718 #185A67
split-complementary
#4D1867 #5A6718 #186725
monochromatic
#130619 #280C35 #4D1867 #722499 #972FCA

Accessibility & contrast

On white

12.79
#4D1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4D1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1867
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1867#FFFFFF#000000##FFFFFF
##4D18671.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#0D3365
Tritanopia (blue-blind)
#4A2A3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1867;
/* rgb */ color: rgb(77, 24, 103);
/* oklch */ color: oklch(33.5% 0.134 312.0);
Tailwind
colors: {
  custom: {
    50: '#825b93',
    500: '#4d1867',
    950: '#000000',
  },
}
SCSS
$custom: #4d1867;
$custom-light: #825b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1867",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 280.253,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.13415,
    "h": 312
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#4D1867
secondary
#5D9D3E
accent
#E54378
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1867

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

Preview Lab → · Contrast checker → · Palette generator →

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