#4D105F#4D105F

#4D105F is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.136 H 317.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#4D105F
RGBrgb(77, 16, 95)
HSLhsl(286, 71%, 22%)
HSVhsv(286, 83%, 37%)
CMYKcmyk(18.9%, 83.2%, 0%, 62.7%)
CIE-LABlab(19.12, 39.78, -32.82)
CIE-LCHlch(19.12, 51.58, 320.47°)
OKLaboklab(32.05% 0.0992 -0.0925)
OKLCHoklch(32.05% 0.136 317)
XYZxyz(5.3111, 2.7748, 11.0801)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D105F #225F10
analogous
#26105F #4D105F #5F104A
triadic
#4D105F #5F4D10 #105F4D
tetradic
#4D105F #5F2610 #225F10 #104A5F
square
#4D105F #5F2610 #225F10 #104A5F
split-complementary
#4D105F #4A5F10 #105F26
monochromatic
#15041A #23072B #4D105F #771993 #A222C8

Accessibility & contrast

On white

13.50
#4D105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D105F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D105F#FFFFFF#000000##FFFFFF
##4D105F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#4C2237
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d105f;
/* rgb */ color: rgb(77, 16, 95);
/* oklch */ color: oklch(32.1% 0.136 317.0);
Tailwind
colors: {
  custom: {
    50: '#82578d',
    500: '#4d105f',
    950: '#000000',
  },
}
SCSS
$custom: #4d105f;
$custom-light: #82578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d105f",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 286.329,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32052,
    "c": 0.13559,
    "h": 317
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#4D105F
secondary
#4A9833
accent
#EE3A63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D105F

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

Preview Lab → · Contrast checker → · Palette generator →

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