#4D105C#4D105C

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

Color values

HEX#4D105C
RGBrgb(77, 16, 92)
HSLhsl(288, 70%, 21%)
HSVhsv(288, 83%, 36%)
CMYKcmyk(16.3%, 82.6%, 0%, 63.9%)
CIE-LABlab(18.89, 39.14, -31.19)
CIE-LCHlch(18.89, 50.05, 321.45°)
OKLaboklab(31.82% 0.0996 -0.0877)
OKLCHoklch(31.82% 0.133 318.6)
XYZxyz(5.1774, 2.7213, 10.3757)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D105C #1F5C10
analogous
#27105C #4D105C #5C1045
triadic
#4D105C #5C4D10 #105C4D
tetradic
#4D105C #5C2710 #1F5C10 #10455C
square
#4D105C #5C2710 #1F5C10 #10455C
split-complementary
#4D105C #455C10 #105C27
monochromatic
#16051A #210728 #4D105C #791990 #A422C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D105C#FFFFFF#000000##FFFFFF
##4D105C1.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)
#002A5E
Deuteranopia (green-blind)
#15305A
Tritanopia (blue-blind)
#4D2036
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d105c;
/* rgb */ color: rgb(77, 16, 92);
/* oklch */ color: oklch(31.8% 0.133 318.6);
Tailwind
colors: {
  custom: {
    50: '#82568b',
    500: '#4d105c',
    950: '#000000',
  },
}
SCSS
$custom: #4d105c;
$custom-light: #82568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d105c",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 288.158,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3182,
    "c": 0.13272,
    "h": 318.6
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#4D105C
secondary
#469533
accent
#ED3B5E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D105C

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

Preview Lab → · Contrast checker → · Palette generator →

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