#4D135A#4D135A

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

Color values

HEX#4D135A
RGBrgb(77, 19, 90)
HSLhsl(289, 65%, 21%)
HSVhsv(289, 79%, 35%)
CMYKcmyk(14.4%, 78.9%, 0%, 64.7%)
CIE-LABlab(19.15, 37.56, -29.44)
CIE-LCHlch(19.15, 47.73, 321.91°)
OKLaboklab(31.96% 0.0968 -0.0826)
OKLCHoklch(31.96% 0.127 319.5)
XYZxyz(5.1387, 2.7820, 9.9372)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D135A #205A13
analogous
#2A135A #4D135A #5A1344
triadic
#4D135A #5A4D13 #135A4D
tetradic
#4D135A #5A2A13 #205A13 #13445A
square
#4D135A #5A2A13 #205A13 #13445A
split-complementary
#4D135A #445A13 #135A2A
monochromatic
#160519 #220827 #4D135A #781E8D #A328BF

Accessibility & contrast

On white

13.49
#4D135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D135A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D135A#FFFFFF#000000##FFFFFF
##4D135A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#193058
Tritanopia (blue-blind)
#4D2135
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d135a;
/* rgb */ color: rgb(77, 19, 90);
/* oklch */ color: oklch(32.0% 0.127 319.5);
Tailwind
colors: {
  custom: {
    50: '#825889',
    500: '#4d135a',
    950: '#000000',
  },
}
SCSS
$custom: #4d135a;
$custom-light: #825889;
$custom-dark: #000000;
JSON
{
  "hex": "#4d135a",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 289.014,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31956,
    "c": 0.12727,
    "h": 319.5
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#4D135A
secondary
#479237
accent
#E8405F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D135A

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

Preview Lab → · Contrast checker → · Palette generator →

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