#4D0E5F#4D0E5F

#4D0E5F is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.138 H 317.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4D0E5F
RGBrgb(77, 14, 95)
HSLhsl(287, 74%, 21%)
HSVhsv(287, 85%, 37%)
CMYKcmyk(18.9%, 85.3%, 0%, 62.7%)
CIE-LABlab(18.88, 40.48, -33.21)
CIE-LCHlch(18.88, 52.36, 320.63°)
OKLaboklab(31.88% 0.1009 -0.0936)
OKLCHoklch(31.88% 0.138 317.2)
XYZxyz(5.2829, 2.7183, 11.0707)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E5F #205F0E
analogous
#250E5F #4D0E5F #5F0E49
triadic
#4D0E5F #5F4D0E #0E5F4D
tetradic
#4D0E5F #5F250E #205F0E #0E495F
square
#4D0E5F #5F250E #205F0E #0E495F
split-complementary
#4D0E5F #495F0E #0E5F25
monochromatic
#16041B #22062A #4D0E5F #781694 #A31ECA

Accessibility & contrast

On white

13.60
#4D0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4D0E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0E5F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E5F#FFFFFF#000000##FFFFFF
##4D0E5F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0e5f;
/* rgb */ color: rgb(77, 14, 95);
/* oklch */ color: oklch(31.9% 0.138 317.2);
Tailwind
colors: {
  custom: {
    50: '#82568d',
    500: '#4d0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e5f;
$custom-light: #82568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e5f",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 286.667,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31883,
    "c": 0.13765,
    "h": 317.2
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#4D0E5F
secondary
#479930
accent
#F13760
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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