#4D1E86#4D1E86

#4D1E86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.161 H 298.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#4D1E86
RGBrgb(77, 30, 134)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 78%, 53%)
CMYKcmyk(42.5%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.41, 43.35, -49.36)
CIE-LCHlch(24.41, 65.69, 311.29°)
OKLaboklab(36.79% 0.077 -0.1411)
OKLCHoklch(36.79% 0.161 298.6)
XYZxyz(7.8268, 4.2274, 22.9533)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E86 #57861E
analogous
#1E2386 #4D1E86 #811E86
triadic
#4D1E86 #864D1E #1E864D
tetradic
#4D1E86 #861E23 #57861E #1E8681
square
#4D1E86 #861E23 #57861E #1E8681
split-complementary
#4D1E86 #86811E #23861E
monochromatic
#140822 #301354 #4D1E86 #6A29B8 #8848D6

Accessibility & contrast

On white

11.38
#4D1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4D1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E86
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E86#FFFFFF#000000##FFFFFF
##4D1E861.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#3F3951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d1e86;
/* rgb */ color: rgb(77, 30, 134);
/* oklch */ color: oklch(36.8% 0.161 298.6);
Tailwind
colors: {
  custom: {
    50: '#855faa',
    500: '#4d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e86;
$custom-light: #855faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e86",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 267.115,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36792,
    "c": 0.16076,
    "h": 298.6
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#4D1E86
secondary
#85B847
accent
#E6419C
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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