#4D1884#4D1884

#4D1884 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.165 H 300.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#4D1884
RGBrgb(77, 24, 132)
HSLhsl(269, 69%, 31%)
HSVhsv(269, 82%, 52%)
CMYKcmyk(41.7%, 81.8%, 0%, 48.2%)
CIE-LABlab(23.33, 45.43, -49.87)
CIE-LCHlch(23.33, 67.46, 312.33°)
OKLaboklab(35.98% 0.0827 -0.1426)
OKLCHoklch(35.98% 0.165 300.1)
XYZxyz(7.5510, 3.8969, 22.1797)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1884 #4F8418
analogous
#181984 #4D1884 #831884
triadic
#4D1884 #844D18 #18844D
tetradic
#4D1884 #841819 #4F8418 #188483
square
#4D1884 #841819 #4F8418 #188483
split-complementary
#4D1884 #848318 #198418
monochromatic
#11051C #2F0F50 #4D1884 #6B21B8 #8A3BDB

Accessibility & contrast

On white

11.80
#4D1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#4D1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1884
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1884#FFFFFF#000000##FFFFFF
##4D18841.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#40364E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d1884;
/* rgb */ color: rgb(77, 24, 132);
/* oklch */ color: oklch(36.0% 0.165 300.1);
Tailwind
colors: {
  custom: {
    50: '#855ca9',
    500: '#4d1884',
    950: '#000000',
  },
}
SCSS
$custom: #4d1884;
$custom-light: #855ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1884",
  "rgb": {
    "r": 77,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 269.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.16486,
    "h": 300.1
  },
  "luminance": 0.03897
}

Semantic roles & 50–950 ramp

primary
#4D1884
secondary
#7DB840
accent
#EC3C96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4D1884

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

Preview Lab → · Contrast checker → · Palette generator →

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