#4D1963#4D1963

#4D1963 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.129 H 313.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4D1963
RGBrgb(77, 25, 99)
HSLhsl(282, 60%, 24%)
HSVhsv(282, 75%, 39%)
CMYKcmyk(22.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(20.73, 36.94, -32.87)
CIE-LCHlch(20.73, 49.45, 318.33°)
OKLaboklab(33.29% 0.0891 -0.0927)
OKLCHoklch(33.29% 0.129 313.9)
XYZxyz(5.6599, 3.1741, 12.1165)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1963 #2F6319
analogous
#281963 #4D1963 #631954
triadic
#4D1963 #634D19 #19634D
tetradic
#4D1963 #632819 #2F6319 #195463
square
#4D1963 #632819 #2F6319 #195463
split-complementary
#4D1963 #546319 #196328
monochromatic
#130618 #270D32 #4D1963 #732594 #9932C5

Accessibility & contrast

On white

12.85
#4D1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4D1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1963
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1963#FFFFFF#000000##FFFFFF
##4D19631.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#143361
Tritanopia (blue-blind)
#4B283C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4d1963;
/* rgb */ color: rgb(77, 25, 99);
/* oklch */ color: oklch(33.3% 0.129 313.9);
Tailwind
colors: {
  custom: {
    50: '#825b90',
    500: '#4d1963',
    950: '#000000',
  },
}
SCSS
$custom: #4d1963;
$custom-light: #825b90;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1963",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 282.162,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3329,
    "c": 0.12858,
    "h": 313.9
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#4D1963
secondary
#5A993F
accent
#E34574
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1963

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

Preview Lab → · Contrast checker → · Palette generator →

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