#4D1154#4D1154

#4D1154 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.124 H 323.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#4D1154
RGBrgb(77, 17, 84)
HSLhsl(294, 66%, 20%)
HSVhsv(294, 80%, 33%)
CMYKcmyk(8.3%, 79.8%, 0%, 67.1%)
CIE-LABlab(18.45, 37.11, -26.53)
CIE-LCHlch(18.45, 45.62, 324.43°)
OKLaboklab(31.32% 0.0995 -0.0741)
OKLCHoklch(31.32% 0.124 323.3)
XYZxyz(4.8611, 2.6191, 8.6353)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1154 #185411
analogous
#2B1154 #4D1154 #54113A
triadic
#4D1154 #544D11 #11544D
tetradic
#4D1154 #542B11 #185411 #113A54
square
#4D1154 #542B11 #185411 #113A54
split-complementary
#4D1154 #3A5411 #11542B
monochromatic
#170519 #1E0721 #4D1154 #7C1B87 #AA26BA

Accessibility & contrast

On white

13.78
#4D1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1154
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1154#FFFFFF#000000##FFFFFF
##4D11541.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#4E1D31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1154;
/* rgb */ color: rgb(77, 17, 84);
/* oklch */ color: oklch(31.3% 0.124 323.3);
Tailwind
colors: {
  custom: {
    50: '#815684',
    500: '#4d1154',
    950: '#000000',
  },
}
SCSS
$custom: #4d1154;
$custom-light: #815684;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1154",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 293.731,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.12401,
    "h": 323.3
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#4D1154
secondary
#3D8D34
accent
#E93F50
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1154

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

Preview Lab → · Contrast checker → · Palette generator →

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