#4D105D#4D105D

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

Color values

HEX#4D105D
RGBrgb(77, 16, 93)
HSLhsl(288, 71%, 21%)
HSVhsv(288, 83%, 36%)
CMYKcmyk(17.2%, 82.8%, 0%, 63.5%)
CIE-LABlab(18.97, 39.36, -31.74)
CIE-LCHlch(18.97, 50.56, 321.11°)
OKLaboklab(31.9% 0.0995 -0.0893)
OKLCHoklch(31.9% 0.134 318.1)
XYZxyz(5.2214, 2.7389, 10.6074)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D105D #205D10
analogous
#27105D #4D105D #5D1047
triadic
#4D105D #5D4D10 #105D4D
tetradic
#4D105D #5D2710 #205D10 #10475D
square
#4D105D #5D2710 #205D10 #10475D
split-complementary
#4D105D #475D10 #105D27
monochromatic
#16041A #220729 #4D105D #781991 #A322C5

Accessibility & contrast

On white

13.57
#4D105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D105D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D105D#FFFFFF#000000##FFFFFF
##4D105D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#4C2136
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d105d;
/* rgb */ color: rgb(77, 16, 93);
/* oklch */ color: oklch(31.9% 0.134 318.1);
Tailwind
colors: {
  custom: {
    50: '#82568b',
    500: '#4d105d',
    950: '#000000',
  },
}
SCSS
$custom: #4d105d;
$custom-light: #82568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d105d",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 287.532,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.13367,
    "h": 318.1
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#4D105D
secondary
#479633
accent
#ED3A60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D105D

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

Preview Lab → · Contrast checker → · Palette generator →

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