#4D1458#4D1458

#4D1458 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.124 H 320.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4D1458
RGBrgb(77, 20, 88)
HSLhsl(290, 63%, 21%)
HSVhsv(290, 77%, 35%)
CMYKcmyk(12.5%, 77.3%, 0%, 65.5%)
CIE-LABlab(19.15, 36.72, -28.10)
CIE-LCHlch(19.15, 46.24, 322.58°)
OKLaboklab(31.91% 0.0959 -0.0786)
OKLCHoklch(31.91% 0.124 320.6)
XYZxyz(5.0720, 2.7829, 9.5006)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1458 #1F5814
analogous
#2B1458 #4D1458 #581441
triadic
#4D1458 #584D14 #14584D
tetradic
#4D1458 #582B14 #1F5814 #144158
square
#4D1458 #582B14 #1F5814 #144158
split-complementary
#4D1458 #415814 #14582B
monochromatic
#160619 #210926 #4D1458 #791F8A #A42BBC

Accessibility & contrast

On white

13.49
#4D1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1458
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1458#FFFFFF#000000##FFFFFF
##4D14581.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#1B3056
Tritanopia (blue-blind)
#4D2134
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1458;
/* rgb */ color: rgb(77, 20, 88);
/* oklch */ color: oklch(31.9% 0.124 320.6);
Tailwind
colors: {
  custom: {
    50: '#815887',
    500: '#4d1458',
    950: '#000000',
  },
}
SCSS
$custom: #4d1458;
$custom-light: #815887;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1458",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 290.294,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.12404,
    "h": 320.6
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#4D1458
secondary
#469038
accent
#E6425C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1458

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

Preview Lab → · Contrast checker → · Palette generator →

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