#4C1C91#4C1C91

#4C1C91 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.175 H 295.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4C1C91
RGBrgb(76, 28, 145)
HSLhsl(265, 68%, 34%)
HSVhsv(265, 81%, 57%)
CMYKcmyk(47.6%, 80.7%, 0%, 43.1%)
CIE-LABlab(24.99, 46.98, -55.27)
CIE-LCHlch(24.99, 72.54, 310.36°)
OKLaboklab(37.48% 0.0738 -0.1585)
OKLCHoklch(37.48% 0.175 295)
XYZxyz(8.5052, 4.4111, 27.1859)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1C91 #61911C
analogous
#1C2791 #4C1C91 #871C91
triadic
#4C1C91 #914C1C #1C914C
tetradic
#4C1C91 #911C27 #61911C #1C9187
square
#4C1C91 #911C27 #61911C #1C9187
split-complementary
#4C1C91 #91871C #27911C
monochromatic
#16082A #31125E #4C1C91 #6726C4 #874BDC

Accessibility & contrast

On white

11.16
#4C1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4C1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1C91
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1C91#FFFFFF#000000##FFFFFF
##4C1C911.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#383D57
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4c1c91;
/* rgb */ color: rgb(76, 28, 145);
/* oklch */ color: oklch(37.5% 0.175 295.0);
Tailwind
colors: {
  custom: {
    50: '#865fb2',
    500: '#4c1c91',
    950: '#000000',
  },
}
SCSS
$custom: #4c1c91;
$custom-light: #865fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1c91",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 264.615,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37478,
    "c": 0.17487,
    "h": 295
  },
  "luminance": 0.04411
}

Semantic roles & 50–950 ramp

primary
#4C1C91
secondary
#8FBE4A
accent
#EB3DA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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