#4D0F58#4D0F58

#4D0F58 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.130 H 321.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4D0F58
RGBrgb(77, 15, 88)
HSLhsl(291, 71%, 20%)
HSVhsv(291, 83%, 35%)
CMYKcmyk(12.5%, 83%, 0%, 65.5%)
CIE-LABlab(18.47, 38.67, -29.19)
CIE-LCHlch(18.47, 48.45, 322.95°)
OKLaboklab(31.43% 0.1011 -0.0818)
OKLCHoklch(31.43% 0.13 321)
XYZxyz(4.9926, 2.6243, 9.4742)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F58 #1A580F
analogous
#280F58 #4D0F58 #580F3E
triadic
#4D0F58 #584D0F #0F584D
tetradic
#4D0F58 #58280F #1A580F #0F3E58
square
#4D0F58 #58280F #1A580F #0F3E58
split-complementary
#4D0F58 #3E580F #0F5828
monochromatic
#17041A #1F0624 #4D0F58 #7B188C #A921C1

Accessibility & contrast

On white

13.77
#4D0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F58
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F58#FFFFFF#000000##FFFFFF
##4D0F581.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0f58;
/* rgb */ color: rgb(77, 15, 88);
/* oklch */ color: oklch(31.4% 0.130 321.0);
Tailwind
colors: {
  custom: {
    50: '#825687',
    500: '#4d0f58',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f58;
$custom-light: #825687;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f58",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 290.959,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31429,
    "c": 0.13007,
    "h": 321
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#4D0F58
secondary
#409231
accent
#EE3A55
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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