#4D145A#4D145A

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

Color values

HEX#4D145A
RGBrgb(77, 20, 90)
HSLhsl(289, 64%, 22%)
HSVhsv(289, 78%, 35%)
CMYKcmyk(14.4%, 77.8%, 0%, 64.7%)
CIE-LABlab(19.29, 37.15, -29.21)
CIE-LCHlch(19.29, 47.26, 321.82°)
OKLaboklab(32.06% 0.0958 -0.0819)
OKLCHoklch(32.06% 0.126 319.5)
XYZxyz(5.1559, 2.8165, 9.9429)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D145A #215A14
analogous
#2A145A #4D145A #5A1444
triadic
#4D145A #5A4D14 #145A4D
tetradic
#4D145A #5A2A14 #215A14 #14445A
square
#4D145A #5A2A14 #215A14 #14445A
split-complementary
#4D145A #445A14 #145A2A
monochromatic
#150619 #220928 #4D145A #781F8C #A32ABE

Accessibility & contrast

On white

13.43
#4D145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D145A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D145A#FFFFFF#000000##FFFFFF
##4D145A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#193158
Tritanopia (blue-blind)
#4D2236
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d145a;
/* rgb */ color: rgb(77, 20, 90);
/* oklch */ color: oklch(32.1% 0.126 319.5);
Tailwind
colors: {
  custom: {
    50: '#825889',
    500: '#4d145a',
    950: '#000000',
  },
}
SCSS
$custom: #4d145a;
$custom-light: #825889;
$custom-dark: #000000;
JSON
{
  "hex": "#4d145a",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 288.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.12601,
    "h": 319.5
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#4D145A
secondary
#499238
accent
#E74160
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D145A

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

Preview Lab → · Contrast checker → · Palette generator →

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