#4D1B83#4D1B83

#4D1B83 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.161 H 300.0°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#4D1B83
RGBrgb(77, 27, 131)
HSLhsl(269, 66%, 31%)
HSVhsv(269, 79%, 51%)
CMYKcmyk(41.2%, 79.4%, 0%, 48.6%)
CIE-LABlab(23.67, 43.92, -48.68)
CIE-LCHlch(23.67, 65.56, 312.06°)
OKLaboklab(36.19% 0.0805 -0.1391)
OKLCHoklch(36.19% 0.161 300)
XYZxyz(7.5482, 4.0003, 21.8428)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1B83 #51831B
analogous
#1B1D83 #4D1B83 #811B83
triadic
#4D1B83 #834D1B #1B834D
tetradic
#4D1B83 #831B1D #51831B #1B8381
square
#4D1B83 #831B1D #51831B #1B8381
split-complementary
#4D1B83 #83811B #1D831B
monochromatic
#11061E #2F1150 #4D1B83 #6B25B6 #8941D8

Accessibility & contrast

On white

11.67
#4D1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#4D1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1B83
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1B83#FFFFFF#000000##FFFFFF
##4D1B831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#40374E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4d1b83;
/* rgb */ color: rgb(77, 27, 131);
/* oklch */ color: oklch(36.2% 0.161 300.0);
Tailwind
colors: {
  custom: {
    50: '#855ea8',
    500: '#4d1b83',
    950: '#000000',
  },
}
SCSS
$custom: #4d1b83;
$custom-light: #855ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1b83",
  "rgb": {
    "r": 77,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 268.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.16073,
    "h": 300
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#4D1B83
secondary
#7FB643
accent
#E93F97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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