#4D1058#4D1058

#4D1058 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.129 H 321.0°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#4D1058
RGBrgb(77, 16, 88)
HSLhsl(291, 69%, 20%)
HSVhsv(291, 82%, 35%)
CMYKcmyk(12.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(18.60, 38.31, -28.99)
CIE-LCHlch(18.60, 48.04, 322.88°)
OKLaboklab(31.52% 0.1002 -0.0812)
OKLCHoklch(31.52% 0.129 321)
XYZxyz(5.0071, 2.6532, 9.4790)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1058 #1B5810
analogous
#291058 #4D1058 #58103F
triadic
#4D1058 #584D10 #10584D
tetradic
#4D1058 #582910 #1B5810 #103F58
square
#4D1058 #582910 #1B5810 #103F58
split-complementary
#4D1058 #3F5810 #105829
monochromatic
#17051A #200724 #4D1058 #7A198C #A823C0

Accessibility & contrast

On white

13.72
#4D1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4D1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1058
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1058#FFFFFF#000000##FFFFFF
##4D10581.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#192F56
Tritanopia (blue-blind)
#4E1F33
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1058;
/* rgb */ color: rgb(77, 16, 88);
/* oklch */ color: oklch(31.5% 0.129 321.0);
Tailwind
colors: {
  custom: {
    50: '#825687',
    500: '#4d1058',
    950: '#000000',
  },
}
SCSS
$custom: #4d1058;
$custom-light: #825687;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1058",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 290.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.12895,
    "h": 321
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#4D1058
secondary
#419132
accent
#EC3C57
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1058

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

Preview Lab → · Contrast checker → · Palette generator →

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