#4D0E5D#4D0E5D

#4D0E5D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.136 H 318.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#4D0E5D
RGBrgb(77, 14, 93)
HSLhsl(288, 74%, 21%)
HSVhsv(288, 85%, 36%)
CMYKcmyk(17.2%, 84.9%, 0%, 63.5%)
CIE-LABlab(18.72, 40.06, -32.13)
CIE-LCHlch(18.72, 51.35, 321.27°)
OKLaboklab(31.73% 0.1013 -0.0904)
OKLCHoklch(31.73% 0.136 318.2)
XYZxyz(5.1931, 2.6824, 10.5980)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0E5D #1E5D0E
analogous
#250E5D #4D0E5D #5D0E45
triadic
#4D0E5D #5D4D0E #0E5D4D
tetradic
#4D0E5D #5D250E #1E5D0E #0E455D
square
#4D0E5D #5D250E #1E5D0E #0E455D
split-complementary
#4D0E5D #455D0E #0E5D25
monochromatic
#16041B #210628 #4D0E5D #791692 #A51EC7

Accessibility & contrast

On white

13.67
#4D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0E5D
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0E5D#FFFFFF#000000##FFFFFF
##4D0E5D1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#4D2036
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d0e5d;
/* rgb */ color: rgb(77, 14, 93);
/* oklch */ color: oklch(31.7% 0.136 318.2);
Tailwind
colors: {
  custom: {
    50: '#82568b',
    500: '#4d0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #4d0e5d;
$custom-light: #82568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0e5d",
  "rgb": {
    "r": 77,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 287.848,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.13578,
    "h": 318.2
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#4D0E5D
secondary
#459730
accent
#F0375D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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