#4D1C80#4D1C80

#4D1C80 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.156 H 300.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#4D1C80
RGBrgb(77, 28, 128)
HSLhsl(269, 64%, 31%)
HSVhsv(269, 78%, 50%)
CMYKcmyk(39.8%, 78.1%, 0%, 49.8%)
CIE-LABlab(23.56, 42.70, -46.97)
CIE-LCHlch(23.56, 63.48, 312.28°)
OKLaboklab(36.03% 0.0804 -0.1341)
OKLCHoklch(36.03% 0.156 300.9)
XYZxyz(7.3711, 3.9667, 20.7952)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C80 #4F801C
analogous
#1C1D80 #4D1C80 #7F1C80
triadic
#4D1C80 #804D1C #1C804D
tetradic
#4D1C80 #801C1D #4F801C #1C807F
square
#4D1C80 #801C1D #4F801C #1C807F
split-complementary
#4D1C80 #807F1C #1D801C
monochromatic
#11061C #2F114E #4D1C80 #6B27B2 #8A41D5

Accessibility & contrast

On white

11.71
#4D1C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1C80
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C80#FFFFFF#000000##FFFFFF
##4D1C801.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#42364D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d1c80;
/* rgb */ color: rgb(77, 28, 128);
/* oklch */ color: oklch(36.0% 0.156 300.9);
Tailwind
colors: {
  custom: {
    50: '#845ea6',
    500: '#4d1c80',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c80;
$custom-light: #845ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c80",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 269.4,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36032,
    "c": 0.15635,
    "h": 300.9
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#4D1C80
secondary
#7DB344
accent
#E74196
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4D1C80

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

Preview Lab → · Contrast checker → · Palette generator →

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