#4D1855#4D1855

#4D1855 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.115 H 322.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#4D1855
RGBrgb(77, 24, 85)
HSLhsl(292, 56%, 21%)
HSVhsv(292, 72%, 33%)
CMYKcmyk(9.4%, 71.8%, 0%, 66.7%)
CIE-LABlab(19.59, 34.29, -25.39)
CIE-LCHlch(19.59, 42.67, 323.48°)
OKLaboklab(32.16% 0.0912 -0.0708)
OKLCHoklch(32.16% 0.115 322.2)
XYZxyz(5.0267, 2.8872, 8.8851)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1855 #205518
analogous
#2F1855 #4D1855 #55183F
triadic
#4D1855 #554D18 #18554D
tetradic
#4D1855 #552F18 #205518 #183F55
square
#4D1855 #552F18 #205518 #183F55
split-complementary
#4D1855 #3F5518 #18552F
monochromatic
#160718 #220B25 #4D1855 #782585 #A333B4

Accessibility & contrast

On white

13.31
#4D1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4D1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1855
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1855#FFFFFF#000000##FFFFFF
##4D18551.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#203153
Tritanopia (blue-blind)
#4E2234
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1855;
/* rgb */ color: rgb(77, 24, 85);
/* oklch */ color: oklch(32.2% 0.115 322.2);
Tailwind
colors: {
  custom: {
    50: '#815a85',
    500: '#4d1855',
    950: '#000000',
  },
}
SCSS
$custom: #4d1855;
$custom-light: #815a85;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1855",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 292.131,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.11544,
    "h": 322.2
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#4D1855
secondary
#478C3D
accent
#DF495C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1855

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

Preview Lab → · Contrast checker → · Palette generator →

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