#4D0F56#4D0F56

#4D0F56 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.128 H 322.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4D0F56
RGBrgb(77, 15, 86)
HSLhsl(292, 70%, 20%)
HSVhsv(292, 83%, 34%)
CMYKcmyk(10.5%, 82.6%, 0%, 66.3%)
CIE-LABlab(18.33, 38.26, -28.08)
CIE-LCHlch(18.33, 47.46, 323.73°)
OKLaboklab(31.28% 0.1013 -0.0785)
OKLCHoklch(31.28% 0.128 322.2)
XYZxyz(4.9109, 2.5916, 9.0439)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F56 #18560F
analogous
#290F56 #4D0F56 #560F3C
triadic
#4D0F56 #564D0F #0F564D
tetradic
#4D0F56 #56290F #18560F #0F3C56
square
#4D0F56 #56290F #18560F #0F3C56
split-complementary
#4D0F56 #3C560F #0F5629
monochromatic
#17051A #1E0622 #4D0F56 #7C188A #AA21BE

Accessibility & contrast

On white

13.83
#4D0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0F56
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F56#FFFFFF#000000##FFFFFF
##4D0F561.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#1A2F54
Tritanopia (blue-blind)
#4E1D32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d0f56;
/* rgb */ color: rgb(77, 15, 86);
/* oklch */ color: oklch(31.3% 0.128 322.2);
Tailwind
colors: {
  custom: {
    50: '#825686',
    500: '#4d0f56',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f56;
$custom-light: #825686;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f56",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 292.394,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31281,
    "c": 0.12822,
    "h": 322.2
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#4D0F56
secondary
#3D9031
accent
#ED3B51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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