#4D1261#4D1261

#4D1261 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.135 H 315.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#4D1261
RGBrgb(77, 18, 97)
HSLhsl(285, 69%, 23%)
HSVhsv(285, 81%, 38%)
CMYKcmyk(20.6%, 81.4%, 0%, 62%)
CIE-LABlab(19.53, 39.47, -33.48)
CIE-LCHlch(19.53, 51.76, 319.69°)
OKLaboklab(32.39% 0.0969 -0.0944)
OKLCHoklch(32.39% 0.135 315.7)
XYZxyz(5.4342, 2.8737, 11.5754)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1261 #266112
analogous
#251261 #4D1261 #61124E
triadic
#4D1261 #614D12 #12614D
tetradic
#4D1261 #612512 #266112 #124E61
square
#4D1261 #612512 #266112 #124E61
split-complementary
#4D1261 #4E6112 #126125
monochromatic
#14051A #24082D #4D1261 #761C95 #9F25C8

Accessibility & contrast

On white

13.34
#4D1261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4D1261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1261
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1261#FFFFFF#000000##FFFFFF
##4D12611.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#10315F
Tritanopia (blue-blind)
#4C2439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1261;
/* rgb */ color: rgb(77, 18, 97);
/* oklch */ color: oklch(32.4% 0.135 315.7);
Tailwind
colors: {
  custom: {
    50: '#82588e',
    500: '#4d1261',
    950: '#000000',
  },
}
SCSS
$custom: #4d1261;
$custom-light: #82588e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1261",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 284.81,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32392,
    "c": 0.13531,
    "h": 315.7
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#4D1261
secondary
#4F9936
accent
#EC3C69
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D1261

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

Preview Lab → · Contrast checker → · Palette generator →

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