#4D134F#4D134F

#4D134F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.117 H 326.5°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4D134F
RGBrgb(77, 19, 79)
HSLhsl(298, 61%, 19%)
HSVhsv(298, 76%, 31%)
CMYKcmyk(2.5%, 75.9%, 0%, 69%)
CIE-LABlab(18.40, 35.30, -23.22)
CIE-LCHlch(18.40, 42.25, 326.66°)
OKLaboklab(31.18% 0.0974 -0.0644)
OKLCHoklch(31.18% 0.117 326.5)
XYZxyz(4.7046, 2.6084, 7.6513)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D134F #154F13
analogous
#2F134F #4D134F #4F1333
triadic
#4D134F #4F4D13 #134F4D
tetradic
#4D134F #4F2F13 #154F13 #13334F
square
#4D134F #4F2F13 #154F13 #13334F
split-complementary
#4D134F #334F13 #134F2F
monochromatic
#180619 #1D071E #4D134F #7D1F80 #AD2BB2

Accessibility & contrast

On white

13.80
#4D134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D134F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D134F#FFFFFF#000000##FFFFFF
##4D134F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072851
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#4F1C2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d134f;
/* rgb */ color: rgb(77, 19, 79);
/* oklch */ color: oklch(31.2% 0.117 326.5);
Tailwind
colors: {
  custom: {
    50: '#815780',
    500: '#4d134f',
    950: '#000000',
  },
}
SCSS
$custom: #4d134f;
$custom-light: #815780;
$custom-dark: #000000;
JSON
{
  "hex": "#4d134f",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 298,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31182,
    "c": 0.11675,
    "h": 326.5
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#4D134F
secondary
#398836
accent
#E44349
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D134F

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

Preview Lab → · Contrast checker → · Palette generator →

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