#4D1B86#4D1B86

#4D1B86 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.164 H 299.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4D1B86
RGBrgb(77, 27, 134)
HSLhsl(268, 66%, 32%)
HSVhsv(268, 80%, 53%)
CMYKcmyk(42.5%, 79.9%, 0%, 47.5%)
CIE-LABlab(23.94, 44.69, -50.12)
CIE-LCHlch(23.94, 67.15, 311.72°)
OKLaboklab(36.47% 0.0796 -0.1434)
OKLCHoklch(36.47% 0.164 299)
XYZxyz(7.7545, 4.0828, 22.9291)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B86 #54861B
analogous
#1B1F86 #4D1B86 #831B86
triadic
#4D1B86 #864D1B #1B864D
tetradic
#4D1B86 #861B1F #54861B #1B8683
square
#4D1B86 #861B1F #54861B #1B8683
split-complementary
#4D1B86 #86831B #1F861B
monochromatic
#120620 #301153 #4D1B86 #6A25B9 #8942D9

Accessibility & contrast

On white

11.56
#4D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B86
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B86#FFFFFF#000000##FFFFFF
##4D1B861.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.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: #4d1b86;
/* rgb */ color: rgb(77, 27, 134);
/* oklch */ color: oklch(36.5% 0.164 299.0);
Tailwind
colors: {
  custom: {
    50: '#855eaa',
    500: '#4d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b86;
$custom-light: #855eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b86",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 268.037,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36466,
    "c": 0.16399,
    "h": 299
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#4D1B86
secondary
#82B944
accent
#E93E99
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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