#4D1B84#4D1B84

#4D1B84 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.162 H 299.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#4D1B84
RGBrgb(77, 27, 132)
HSLhsl(269, 66%, 31%)
HSVhsv(269, 80%, 52%)
CMYKcmyk(41.7%, 79.5%, 0%, 48.2%)
CIE-LABlab(23.76, 44.17, -49.16)
CIE-LCHlch(23.76, 66.09, 311.94°)
OKLaboklab(36.28% 0.0802 -0.1405)
OKLCHoklch(36.28% 0.162 299.7)
XYZxyz(7.6163, 4.0275, 22.2014)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B84 #52841B
analogous
#1B1E84 #4D1B84 #811B84
triadic
#4D1B84 #844D1B #1B844D
tetradic
#4D1B84 #841B1E #52841B #1B8481
square
#4D1B84 #841B1E #52841B #1B8481
split-complementary
#4D1B84 #84811B #1E841B
monochromatic
#12061E #2F1151 #4D1B84 #6B25B7 #8941D8

Accessibility & contrast

On white

11.63
#4D1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4D1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B84
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B84#FFFFFF#000000##FFFFFF
##4D1B841.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#40374F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4d1b84;
/* rgb */ color: rgb(77, 27, 132);
/* oklch */ color: oklch(36.3% 0.162 299.7);
Tailwind
colors: {
  custom: {
    50: '#855ea9',
    500: '#4d1b84',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b84;
$custom-light: #855ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b84",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 268.571,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.16182,
    "h": 299.7
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#4D1B84
secondary
#80B743
accent
#E93F98
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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