#4D105B#4D105B

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

Color values

HEX#4D105B
RGBrgb(77, 16, 91)
HSLhsl(289, 70%, 21%)
HSVhsv(289, 82%, 36%)
CMYKcmyk(15.4%, 82.4%, 0%, 64.3%)
CIE-LABlab(18.82, 38.93, -30.65)
CIE-LCHlch(18.82, 49.55, 321.79°)
OKLaboklab(31.74% 0.0998 -0.0861)
OKLCHoklch(31.74% 0.132 319.2)
XYZxyz(5.1339, 2.7039, 10.1470)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D105B #1E5B10
analogous
#27105B #4D105B #5B1043
triadic
#4D105B #5B4D10 #105B4D
tetradic
#4D105B #5B2710 #1E5B10 #10435B
square
#4D105B #5B2710 #1E5B10 #10435B
split-complementary
#4D105B #435B10 #105B27
monochromatic
#16051A #210727 #4D105B #79198F #A522C3

Accessibility & contrast

On white

13.63
#4D105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D105B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D105B#FFFFFF#000000##FFFFFF
##4D105B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#163059
Tritanopia (blue-blind)
#4D2035
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d105b;
/* rgb */ color: rgb(77, 16, 91);
/* oklch */ color: oklch(31.7% 0.132 319.2);
Tailwind
colors: {
  custom: {
    50: '#82568a',
    500: '#4d105b',
    950: '#000000',
  },
}
SCSS
$custom: #4d105b;
$custom-light: #82568a;
$custom-dark: #000000;
JSON
{
  "hex": "#4d105b",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 288.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31744,
    "c": 0.13178,
    "h": 319.2
  },
  "luminance": 0.02704
}

Semantic roles & 50–950 ramp

primary
#4D105B
secondary
#459433
accent
#ED3B5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D105B

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

Preview Lab → · Contrast checker → · Palette generator →

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