#4D1461#4D1461

#4D1461 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.133 H 315.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#4D1461
RGBrgb(77, 20, 97)
HSLhsl(284, 66%, 23%)
HSVhsv(284, 79%, 38%)
CMYKcmyk(20.6%, 79.4%, 0%, 62%)
CIE-LABlab(19.81, 38.68, -33.04)
CIE-LCHlch(19.81, 50.87, 319.49°)
OKLaboklab(32.59% 0.0949 -0.0931)
OKLCHoklch(32.59% 0.133 315.5)
XYZxyz(5.4680, 2.9414, 11.5866)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1461 #286114
analogous
#271461 #4D1461 #61144E
triadic
#4D1461 #614D14 #14614D
tetradic
#4D1461 #612714 #286114 #144E61
square
#4D1461 #612714 #286114 #144E61
split-complementary
#4D1461 #4E6114 #146127
monochromatic
#140519 #250A2E #4D1461 #751E94 #9E29C6

Accessibility & contrast

On white

13.22
#4D1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4D1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1461
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1461#FFFFFF#000000##FFFFFF
##4D14611.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#12315F
Tritanopia (blue-blind)
#4B2539
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4d1461;
/* rgb */ color: rgb(77, 20, 97);
/* oklch */ color: oklch(32.6% 0.133 315.5);
Tailwind
colors: {
  custom: {
    50: '#82588e',
    500: '#4d1461',
    950: '#000000',
  },
}
SCSS
$custom: #4d1461;
$custom-light: #82588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1461",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 284.416,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.13297,
    "h": 315.5
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#4D1461
secondary
#519838
accent
#E93F6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1461

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

Preview Lab → · Contrast checker → · Palette generator →

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