#4D1454#4D1454

#4D1454 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.120 H 323.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4D1454
RGBrgb(77, 20, 84)
HSLhsl(293, 62%, 20%)
HSVhsv(293, 76%, 33%)
CMYKcmyk(8.3%, 76.2%, 0%, 67.1%)
CIE-LABlab(18.88, 35.88, -25.85)
CIE-LCHlch(18.88, 44.22, 324.24°)
OKLaboklab(31.63% 0.0961 -0.0721)
OKLCHoklch(31.63% 0.12 323.1)
XYZxyz(4.9108, 2.7185, 8.6518)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1454 #1B5414
analogous
#2D1454 #4D1454 #54143B
triadic
#4D1454 #544D14 #14544D
tetradic
#4D1454 #542D14 #1B5414 #143B54
square
#4D1454 #542D14 #1B5414 #143B54
split-complementary
#4D1454 #3B5414 #14542D
monochromatic
#170619 #200823 #4D1454 #7A2085 #A82CB7

Accessibility & contrast

On white

13.60
#4D1454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4D1454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1454
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1454#FFFFFF#000000##FFFFFF
##4D14541.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A56
Deuteranopia (green-blind)
#1E3052
Tritanopia (blue-blind)
#4E1F32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1454;
/* rgb */ color: rgb(77, 20, 84);
/* oklch */ color: oklch(31.6% 0.120 323.1);
Tailwind
colors: {
  custom: {
    50: '#815884',
    500: '#4d1454',
    950: '#000000',
  },
}
SCSS
$custom: #4d1454;
$custom-light: #815884;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1454",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 293.438,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3163,
    "c": 0.12015,
    "h": 323.1
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#4D1454
secondary
#418C38
accent
#E54355
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1454

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

Preview Lab → · Contrast checker → · Palette generator →

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