#4D1E84#4D1E84

#4D1E84 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.159 H 299.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4D1E84
RGBrgb(77, 30, 132)
HSLhsl(268, 63%, 32%)
HSVhsv(268, 77%, 52%)
CMYKcmyk(41.7%, 77.3%, 0%, 48.2%)
CIE-LABlab(24.23, 42.82, -48.39)
CIE-LCHlch(24.23, 64.62, 311.51°)
OKLaboklab(36.61% 0.0775 -0.1383)
OKLCHoklch(36.61% 0.159 299.3)
XYZxyz(7.6886, 4.1722, 22.2256)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E84 #55841E
analogous
#1E2284 #4D1E84 #801E84
triadic
#4D1E84 #844D1E #1E844D
tetradic
#4D1E84 #841E22 #55841E #1E8480
square
#4D1E84 #841E22 #55841E #1E8480
split-complementary
#4D1E84 #84801E #22841E
monochromatic
#130720 #301352 #4D1E84 #6A29B6 #8947D5

Accessibility & contrast

On white

11.45
#4D1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4D1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E84
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E84#FFFFFF#000000##FFFFFF
##4D1E841.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#403950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d1e84;
/* rgb */ color: rgb(77, 30, 132);
/* oklch */ color: oklch(36.6% 0.159 299.3);
Tailwind
colors: {
  custom: {
    50: '#845fa9',
    500: '#4d1e84',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e84;
$custom-light: #845fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e84",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 267.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.15853,
    "h": 299.3
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#4D1E84
secondary
#83B747
accent
#E6429A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4D1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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