#4D0F5F#4D0F5F

#4D0F5F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 32.0% C 0.137 H 317.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4D0F5F
RGBrgb(77, 15, 95)
HSLhsl(287, 73%, 22%)
HSVhsv(287, 84%, 37%)
CMYKcmyk(18.9%, 84.2%, 0%, 62.7%)
CIE-LABlab(19.00, 40.14, -33.02)
CIE-LCHlch(19.00, 51.97, 320.55°)
OKLaboklab(31.97% 0.1001 -0.093)
OKLCHoklch(31.97% 0.137 317.1)
XYZxyz(5.2966, 2.7459, 11.0753)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F5F #215F0F
analogous
#250F5F #4D0F5F #5F0F49
triadic
#4D0F5F #5F4D0F #0F5F4D
tetradic
#4D0F5F #5F250F #215F0F #0F495F
square
#4D0F5F #5F250F #215F0F #0F495F
split-complementary
#4D0F5F #495F0F #0F5F25
monochromatic
#15041A #22072A #4D0F5F #781794 #A320C9

Accessibility & contrast

On white

13.56
#4D0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F5F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F5F#FFFFFF#000000##FFFFFF
##4D0F5F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#10305D
Tritanopia (blue-blind)
#4C2137
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d0f5f;
/* rgb */ color: rgb(77, 15, 95);
/* oklch */ color: oklch(32.0% 0.137 317.1);
Tailwind
colors: {
  custom: {
    50: '#82568d',
    500: '#4d0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f5f;
$custom-light: #82568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f5f",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 286.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31966,
    "c": 0.13663,
    "h": 317.1
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#4D0F5F
secondary
#499832
accent
#EF3862
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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