#4D0B56#4D0B56

#4D0B56 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.132 H 322.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#4D0B56
RGBrgb(77, 11, 86)
HSLhsl(293, 77%, 19%)
HSVhsv(293, 87%, 34%)
CMYKcmyk(10.5%, 87.2%, 0%, 66.3%)
CIE-LABlab(17.87, 39.59, -28.81)
CIE-LCHlch(17.87, 48.96, 323.95°)
OKLaboklab(30.96% 0.1049 -0.0807)
OKLCHoklch(30.96% 0.132 322.4)
XYZxyz(4.8598, 2.4893, 9.0268)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0B56 #14560B
analogous
#280B56 #4D0B56 #560B3A
triadic
#4D0B56 #564D0B #0B564D
tetradic
#4D0B56 #56280B #14560B #0B3A56
square
#4D0B56 #56280B #14560B #0B3A56
split-complementary
#4D0B56 #3A560B #0B5628
monochromatic
#18031B #1C0420 #4D0B56 #7E128C #AE19C3

Accessibility & contrast

On white

14.02
#4D0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0B56
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0B56#FFFFFF#000000##FFFFFF
##4D0B561.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#182E54
Tritanopia (blue-blind)
#4E1B31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0b56;
/* rgb */ color: rgb(77, 11, 86);
/* oklch */ color: oklch(31.0% 0.132 322.4);
Tailwind
colors: {
  custom: {
    50: '#825486',
    500: '#4d0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4d0b56;
$custom-light: #825486;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0b56",
  "rgb": {
    "r": 77,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 292.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30958,
    "c": 0.13234,
    "h": 322.4
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

primary
#4D0B56
secondary
#38912B
accent
#F4344B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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