#4D1C91#4D1C91

#4D1C91 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.175 H 295.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4D1C91
RGBrgb(77, 28, 145)
HSLhsl(265, 68%, 34%)
HSVhsv(265, 81%, 57%)
CMYKcmyk(46.9%, 80.7%, 0%, 43.1%)
CIE-LABlab(25.11, 47.13, -55.06)
CIE-LCHlch(25.11, 72.47, 310.56°)
OKLaboklab(37.6% 0.0754 -0.1579)
OKLCHoklch(37.6% 0.175 295.5)
XYZxyz(8.5853, 4.4524, 27.1896)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1C91 #60911C
analogous
#1C2691 #4D1C91 #881C91
triadic
#4D1C91 #914D1C #1C914D
tetradic
#4D1C91 #911C26 #60911C #1C9188
square
#4D1C91 #911C26 #60911C #1C9188
split-complementary
#4D1C91 #91881C #26911C
monochromatic
#17082A #32125E #4D1C91 #6826C4 #884BDC

Accessibility & contrast

On white

11.11
#4D1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1C91
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1C91#FFFFFF#000000##FFFFFF
##4D1C911.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#3A3D57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d1c91;
/* rgb */ color: rgb(77, 28, 145);
/* oklch */ color: oklch(37.6% 0.175 295.5);
Tailwind
colors: {
  custom: {
    50: '#865fb2',
    500: '#4d1c91',
    950: '#000000',
  },
}
SCSS
$custom: #4d1c91;
$custom-light: #865fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1c91",
  "rgb": {
    "r": 77,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 265.128,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37595,
    "c": 0.17495,
    "h": 295.5
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#4D1C91
secondary
#8EBE4A
accent
#EB3DA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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