#4D1C86#4D1C86

#4D1C86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.163 H 298.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4D1C86
RGBrgb(77, 28, 134)
HSLhsl(268, 65%, 32%)
HSVhsv(268, 79%, 53%)
CMYKcmyk(42.5%, 79.1%, 0%, 47.5%)
CIE-LABlab(24.09, 44.25, -49.87)
CIE-LCHlch(24.09, 66.68, 311.58°)
OKLaboklab(36.57% 0.0788 -0.1426)
OKLCHoklch(36.57% 0.163 298.9)
XYZxyz(7.7778, 4.1294, 22.9369)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C86 #55861C
analogous
#1C2086 #4D1C86 #821C86
triadic
#4D1C86 #864D1C #1C864D
tetradic
#4D1C86 #861C20 #55861C #1C8682
square
#4D1C86 #861C20 #55861C #1C8682
split-complementary
#4D1C86 #86821C #20861C
monochromatic
#130721 #301153 #4D1C86 #6A27B9 #8944D8

Accessibility & contrast

On white

11.50
#4D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1C86
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C86#FFFFFF#000000##FFFFFF
##4D1C861.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#3F3850
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d1c86;
/* rgb */ color: rgb(77, 28, 134);
/* oklch */ color: oklch(36.6% 0.163 298.9);
Tailwind
colors: {
  custom: {
    50: '#855eaa',
    500: '#4d1c86',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c86;
$custom-light: #855eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c86",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 267.736,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36572,
    "c": 0.16294,
    "h": 298.9
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#4D1C86
secondary
#83B945
accent
#E83F9A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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