#4D1B85#4D1B85

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

Color values

HEX#4D1B85
RGBrgb(77, 27, 133)
HSLhsl(268, 66%, 31%)
HSVhsv(268, 80%, 52%)
CMYKcmyk(42.1%, 79.7%, 0%, 47.8%)
CIE-LABlab(23.85, 44.43, -49.64)
CIE-LCHlch(23.85, 66.62, 311.83°)
OKLaboklab(36.37% 0.0799 -0.142)
OKLCHoklch(36.37% 0.163 299.4)
XYZxyz(7.6851, 4.0550, 22.5636)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B85 #53851B
analogous
#1B1E85 #4D1B85 #821B85
triadic
#4D1B85 #854D1B #1B854D
tetradic
#4D1B85 #851B1E #53851B #1B8582
square
#4D1B85 #851B1E #53851B #1B8582
split-complementary
#4D1B85 #85821B #1E851B
monochromatic
#12061F #301152 #4D1B85 #6A25B8 #8942D9

Accessibility & contrast

On white

11.60
#4D1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1B85
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B85#FFFFFF#000000##FFFFFF
##4D1B851.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1b85;
/* rgb */ color: rgb(77, 27, 133);
/* oklch */ color: oklch(36.4% 0.163 299.4);
Tailwind
colors: {
  custom: {
    50: '#855ea9',
    500: '#4d1b85',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b85;
$custom-light: #855ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b85",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 268.302,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.1629,
    "h": 299.4
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#4D1B85
secondary
#81B844
accent
#E93F99
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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