#4D1E85#4D1E85

#4D1E85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 298.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4D1E85
RGBrgb(77, 30, 133)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 77%, 52%)
CMYKcmyk(42.1%, 77.4%, 0%, 47.8%)
CIE-LABlab(24.32, 43.09, -48.88)
CIE-LCHlch(24.32, 65.16, 311.40°)
OKLaboklab(36.7% 0.0772 -0.1397)
OKLCHoklch(36.7% 0.16 298.9)
XYZxyz(7.7574, 4.1997, 22.5877)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1E85 #56851E
analogous
#1E2285 #4D1E85 #811E85
triadic
#4D1E85 #854D1E #1E854D
tetradic
#4D1E85 #851E22 #56851E #1E8581
square
#4D1E85 #851E22 #56851E #1E8581
split-complementary
#4D1E85 #85811E #22851E
monochromatic
#130721 #301353 #4D1E85 #6A29B7 #8948D6

Accessibility & contrast

On white

11.41
#4D1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4D1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1E85
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1E85#FFFFFF#000000##FFFFFF
##4D1E851.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#3F3950
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4d1e85;
/* rgb */ color: rgb(77, 30, 133);
/* oklch */ color: oklch(36.7% 0.160 298.9);
Tailwind
colors: {
  custom: {
    50: '#855fa9',
    500: '#4d1e85',
    950: '#000000',
  },
}
SCSS
$custom: #4d1e85;
$custom-light: #855fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1e85",
  "rgb": {
    "r": 77,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 267.379,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36703,
    "c": 0.15964,
    "h": 298.9
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#4D1E85
secondary
#84B847
accent
#E6429B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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