#4D134C#4D134C

#4D134C is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.114 H 328.6°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4D134C
RGBrgb(77, 19, 76)
HSLhsl(301, 60%, 19%)
HSVhsv(301, 75%, 30%)
CMYKcmyk(0%, 75.3%, 1.3%, 69.8%)
CIE-LABlab(18.21, 34.71, -21.47)
CIE-LCHlch(18.21, 40.82, 328.26°)
OKLaboklab(30.99% 0.0973 -0.0593)
OKLCHoklch(30.99% 0.114 328.6)
XYZxyz(4.5979, 2.5657, 7.0891)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D134C #134D14
analogous
#31134D #4D134C #4D132F
triadic
#4D134C #4C4D13 #134C4D
tetradic
#4D134C #4D3113 #134D14 #132F4D
square
#4D134C #4D3113 #134D14 #132F4D
split-complementary
#4D134C #2F4D13 #134D31
monochromatic
#190618 #1C071C #4D134C #7E1F7C #AF2BAD

Accessibility & contrast

On white

13.88
#4D134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D134C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D134C#FFFFFF#000000##FFFFFF
##4D134C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284E
Deuteranopia (green-blind)
#222F4B
Tritanopia (blue-blind)
#501B2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d134c;
/* rgb */ color: rgb(77, 19, 76);
/* oklch */ color: oklch(31.0% 0.114 328.6);
Tailwind
colors: {
  custom: {
    50: '#81577e',
    500: '#4d134c',
    950: '#000000',
  },
}
SCSS
$custom: #4d134c;
$custom-light: #81577e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d134c",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 301.034,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30985,
    "c": 0.11398,
    "h": 328.6
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#4D134C
secondary
#368638
accent
#E44744
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D134C

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

Preview Lab → · Contrast checker → · Palette generator →

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