#4D1455#4D1455

#4D1455 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.7% C 0.121 H 322.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#4D1455
RGBrgb(77, 20, 85)
HSLhsl(293, 62%, 21%)
HSVhsv(293, 76%, 33%)
CMYKcmyk(9.4%, 76.5%, 0%, 66.7%)
CIE-LABlab(18.95, 36.09, -26.41)
CIE-LCHlch(18.95, 44.73, 323.80°)
OKLaboklab(31.7% 0.0961 -0.0737)
OKLCHoklch(31.7% 0.121 322.5)
XYZxyz(4.9503, 2.7342, 8.8596)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1455 #1C5514
analogous
#2C1455 #4D1455 #55143C
triadic
#4D1455 #554D14 #14554D
tetradic
#4D1455 #552C14 #1C5514 #143C55
square
#4D1455 #552C14 #1C5514 #143C55
split-complementary
#4D1455 #3C5514 #14552C
monochromatic
#160619 #200823 #4D1455 #7A2087 #A72BB8

Accessibility & contrast

On white

13.58
#4D1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1455
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1455#FFFFFF#000000##FFFFFF
##4D14551.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#1D3053
Tritanopia (blue-blind)
#4E2033
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1455;
/* rgb */ color: rgb(77, 20, 85);
/* oklch */ color: oklch(31.7% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#815885',
    500: '#4d1455',
    950: '#000000',
  },
}
SCSS
$custom: #4d1455;
$custom-light: #815885;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1455",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 292.615,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.317,
    "c": 0.12112,
    "h": 322.5
  },
  "luminance": 0.02734
}

Semantic roles & 50–950 ramp

primary
#4D1455
secondary
#428D38
accent
#E54357
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1455

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

Preview Lab → · Contrast checker → · Palette generator →

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