#4D115F#4D115F

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

Color values

HEX#4D115F
RGBrgb(77, 17, 95)
HSLhsl(286, 70%, 22%)
HSVhsv(286, 82%, 37%)
CMYKcmyk(18.9%, 82.1%, 0%, 62.7%)
CIE-LABlab(19.25, 39.42, -32.62)
CIE-LCHlch(19.25, 51.16, 320.39°)
OKLaboklab(32.14% 0.0982 -0.0919)
OKLCHoklch(32.14% 0.134 316.9)
XYZxyz(5.3263, 2.8051, 11.0851)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D115F #235F11
analogous
#26115F #4D115F #5F114A
triadic
#4D115F #5F4D11 #115F4D
tetradic
#4D115F #5F2611 #235F11 #114A5F
square
#4D115F #5F2611 #235F11 #114A5F
split-complementary
#4D115F #4A5F11 #115F26
monochromatic
#15051A #23082B #4D115F #771A93 #A124C7

Accessibility & contrast

On white

13.45
#4D115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D115F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D115F#FFFFFF#000000##FFFFFF
##4D115F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#4C2238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d115f;
/* rgb */ color: rgb(77, 17, 95);
/* oklch */ color: oklch(32.1% 0.134 316.9);
Tailwind
colors: {
  custom: {
    50: '#82578d',
    500: '#4d115f',
    950: '#000000',
  },
}
SCSS
$custom: #4d115f;
$custom-light: #82578d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d115f",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 286.154,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32142,
    "c": 0.13449,
    "h": 316.9
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#4D115F
secondary
#4B9834
accent
#EC3B64
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4D115F

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

Preview Lab → · Contrast checker → · Palette generator →

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