#4D1355#4D1355

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

Color values

HEX#4D1355
RGBrgb(77, 19, 85)
HSLhsl(293, 63%, 20%)
HSVhsv(293, 78%, 33%)
CMYKcmyk(9.4%, 77.6%, 0%, 66.7%)
CIE-LABlab(18.80, 36.51, -26.65)
CIE-LCHlch(18.80, 45.20, 323.88°)
OKLaboklab(31.59% 0.0972 -0.0744)
OKLCHoklch(31.59% 0.122 322.6)
XYZxyz(4.9330, 2.6997, 8.8538)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1355 #1B5513
analogous
#2C1355 #4D1355 #55133C
triadic
#4D1355 #554D13 #13554D
tetradic
#4D1355 #552C13 #1B5513 #133C55
square
#4D1355 #552C13 #1B5513 #133C55
split-complementary
#4D1355 #3C5513 #13552C
monochromatic
#170619 #200823 #4D1355 #7A1E87 #A829B9

Accessibility & contrast

On white

13.64
#4D1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1355
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1355#FFFFFF#000000##FFFFFF
##4D13551.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1D3053
Tritanopia (blue-blind)
#4E1F32
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1355;
/* rgb */ color: rgb(77, 19, 85);
/* oklch */ color: oklch(31.6% 0.122 322.6);
Tailwind
colors: {
  custom: {
    50: '#815785',
    500: '#4d1355',
    950: '#000000',
  },
}
SCSS
$custom: #4d1355;
$custom-light: #815785;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1355",
  "rgb": {
    "r": 77,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 292.727,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.12244,
    "h": 322.6
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#4D1355
secondary
#418D36
accent
#E64155
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1355

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

Preview Lab → · Contrast checker → · Palette generator →

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