#4D0C55#4D0C55

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

Color values

HEX#4D0C55
RGBrgb(77, 12, 85)
HSLhsl(293, 75%, 19%)
HSVhsv(293, 86%, 33%)
CMYKcmyk(9.4%, 85.9%, 0%, 66.7%)
CIE-LABlab(17.90, 39.08, -28.08)
CIE-LCHlch(17.90, 48.12, 324.30°)
OKLaboklab(30.96% 0.1042 -0.0785)
OKLCHoklch(30.96% 0.13 323)
XYZxyz(4.8316, 2.4969, 8.8200)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C55 #14550C
analogous
#290C55 #4D0C55 #550C39
triadic
#4D0C55 #554D0C #0C554D
tetradic
#4D0C55 #55290C #14550C #0C3955
square
#4D0C55 #55290C #14550C #0C3955
split-complementary
#4D0C55 #39550C #0C5529
monochromatic
#18041B #1C041F #4D0C55 #7E148B #AE1BC0

Accessibility & contrast

On white

14.01
#4D0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C55
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C55#FFFFFF#000000##FFFFFF
##4D0C551.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#192E53
Tritanopia (blue-blind)
#4E1B31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0c55;
/* rgb */ color: rgb(77, 12, 85);
/* oklch */ color: oklch(31.0% 0.130 323.0);
Tailwind
colors: {
  custom: {
    50: '#825585',
    500: '#4d0c55',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c55;
$custom-light: #825585;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c55",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 293.425,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30959,
    "c": 0.13048,
    "h": 323
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#4D0C55
secondary
#38902D
accent
#F2364B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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