#4D1863#4D1863

#4D1863 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.130 H 314.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4D1863
RGBrgb(77, 24, 99)
HSLhsl(282, 61%, 24%)
HSVhsv(282, 76%, 39%)
CMYKcmyk(22.2%, 75.8%, 0%, 61.2%)
CIE-LABlab(20.57, 37.40, -33.14)
CIE-LCHlch(20.57, 49.97, 318.46°)
OKLaboklab(33.17% 0.0903 -0.0934)
OKLCHoklch(33.17% 0.13 314)
XYZxyz(5.6389, 3.1321, 12.1095)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1863 #2E6318
analogous
#281863 #4D1863 #631854
triadic
#4D1863 #634D18 #18634D
tetradic
#4D1863 #632818 #2E6318 #185463
square
#4D1863 #632818 #2E6318 #185463
split-complementary
#4D1863 #546318 #186328
monochromatic
#130619 #270C32 #4D1863 #732494 #9A30C6

Accessibility & contrast

On white

12.91
#4D1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1863
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1863#FFFFFF#000000##FFFFFF
##4D18631.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1863;
/* rgb */ color: rgb(77, 24, 99);
/* oklch */ color: oklch(33.2% 0.130 314.0);
Tailwind
colors: {
  custom: {
    50: '#825a90',
    500: '#4d1863',
    950: '#000000',
  },
}
SCSS
$custom: #4d1863;
$custom-light: #825a90;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1863",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 282.4,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33174,
    "c": 0.12993,
    "h": 314
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#4D1863
secondary
#58993E
accent
#E44473
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4D1863

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

Preview Lab → · Contrast checker → · Palette generator →

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