#4D1155#4D1155

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

Color values

HEX#4D1155
RGBrgb(77, 17, 85)
HSLhsl(293, 67%, 20%)
HSVhsv(293, 80%, 33%)
CMYKcmyk(9.4%, 80%, 0%, 66.7%)
CIE-LABlab(18.52, 37.31, -27.10)
CIE-LCHlch(18.52, 46.12, 324.01°)
OKLaboklab(31.39% 0.0994 -0.0757)
OKLCHoklch(31.39% 0.125 322.7)
XYZxyz(4.9005, 2.6348, 8.8430)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1155 #195511
analogous
#2B1155 #4D1155 #55113B
triadic
#4D1155 #554D11 #11554D
tetradic
#4D1155 #552B11 #195511 #113B55
square
#4D1155 #552B11 #195511 #113B55
split-complementary
#4D1155 #3B5511 #11552B
monochromatic
#17051A #1F0722 #4D1155 #7B1B88 #A925BB

Accessibility & contrast

On white

13.75
#4D1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4D1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1155
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1155#FFFFFF#000000##FFFFFF
##4D11551.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#1C2F53
Tritanopia (blue-blind)
#4E1E32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d1155;
/* rgb */ color: rgb(77, 17, 85);
/* oklch */ color: oklch(31.4% 0.125 322.7);
Tailwind
colors: {
  custom: {
    50: '#825685',
    500: '#4d1155',
    950: '#000000',
  },
}
SCSS
$custom: #4d1155;
$custom-light: #825685;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1155",
  "rgb": {
    "r": 77,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 292.941,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.31394,
    "c": 0.12494,
    "h": 322.7
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#4D1155
secondary
#3E8E34
accent
#EA3E52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1155

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

Preview Lab → · Contrast checker → · Palette generator →

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