#4D1054#4D1054

#4D1054 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.125 H 323.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#4D1054
RGBrgb(77, 16, 84)
HSLhsl(294, 68%, 20%)
HSVhsv(294, 81%, 33%)
CMYKcmyk(8.3%, 81%, 0%, 67.1%)
CIE-LABlab(18.32, 37.49, -26.75)
CIE-LCHlch(18.32, 46.05, 324.50°)
OKLaboklab(31.23% 0.1005 -0.0747)
OKLCHoklch(31.23% 0.125 323.4)
XYZxyz(4.8459, 2.5888, 8.6302)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1054 #175410
analogous
#2B1054 #4D1054 #541039
triadic
#4D1054 #544D10 #10544D
tetradic
#4D1054 #542B10 #175410 #103954
square
#4D1054 #542B10 #175410 #103954
split-complementary
#4D1054 #395410 #10542B
monochromatic
#18051A #1E0621 #4D1054 #7C1A87 #AB24BB

Accessibility & contrast

On white

13.84
#4D1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1054
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1054#FFFFFF#000000##FFFFFF
##4D10541.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1054;
/* rgb */ color: rgb(77, 16, 84);
/* oklch */ color: oklch(31.2% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#825684',
    500: '#4d1054',
    950: '#000000',
  },
}
SCSS
$custom: #4d1054;
$custom-light: #825684;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1054",
  "rgb": {
    "r": 77,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 293.824,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31228,
    "c": 0.12521,
    "h": 323.4
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#4D1054
secondary
#3C8E32
accent
#EB3D4F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1054

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

Preview Lab → · Contrast checker → · Palette generator →

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