#4D1984#4D1984

#4D1984 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.164 H 300.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#4D1984
RGBrgb(77, 25, 132)
HSLhsl(269, 68%, 31%)
HSVhsv(269, 81%, 52%)
CMYKcmyk(41.7%, 81.1%, 0%, 48.2%)
CIE-LABlab(23.47, 45.02, -49.64)
CIE-LCHlch(23.47, 67.02, 312.21°)
OKLaboklab(36.08% 0.0819 -0.1419)
OKLCHoklch(36.08% 0.164 300)
XYZxyz(7.5720, 3.9389, 22.1867)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1984 #508419
analogous
#191A84 #4D1984 #821984
triadic
#4D1984 #844D19 #19844D
tetradic
#4D1984 #84191A #508419 #198482
square
#4D1984 #84191A #508419 #198482
split-complementary
#4D1984 #848219 #1A8419
monochromatic
#11061D #2F0F51 #4D1984 #6B23B7 #893DDA

Accessibility & contrast

On white

11.75
#4D1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4D1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1984
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1984#FFFFFF#000000##FFFFFF
##4D19841.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1984;
/* rgb */ color: rgb(77, 25, 132);
/* oklch */ color: oklch(36.1% 0.164 300.0);
Tailwind
colors: {
  custom: {
    50: '#855da9',
    500: '#4d1984',
    950: '#000000',
  },
}
SCSS
$custom: #4d1984;
$custom-light: #855da9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1984",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 269.159,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.16387,
    "h": 300
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#4D1984
secondary
#7EB841
accent
#EB3D96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4D1984

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

Preview Lab → · Contrast checker → · Palette generator →

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