#4C1D94#4C1D94

#4C1D94 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.177 H 294.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4C1D94
RGBrgb(76, 29, 148)
HSLhsl(264, 67%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(48.6%, 80.4%, 0%, 42%)
CIE-LABlab(25.42, 47.34, -56.41)
CIE-LCHlch(25.42, 73.65, 310.00°)
OKLaboklab(37.87% 0.0721 -0.1619)
OKLCHoklch(37.87% 0.177 294)
XYZxyz(8.7637, 4.5531, 28.4283)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1D94 #65941D
analogous
#1D2A94 #4C1D94 #871D94
triadic
#4C1D94 #944C1D #1D944C
tetradic
#4C1D94 #941D2A #65941D #1D9487
square
#4C1D94 #941D2A #65941D #1D9487
split-complementary
#4C1D94 #94871D #2A941D
monochromatic
#17092E #321361 #4C1D94 #6627C7 #874FDC

Accessibility & contrast

On white

10.99
#4C1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4C1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1D94
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1D94#FFFFFF#000000##FFFFFF
##4C1D941.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#363F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c1d94;
/* rgb */ color: rgb(76, 29, 148);
/* oklch */ color: oklch(37.9% 0.177 294.0);
Tailwind
colors: {
  custom: {
    50: '#865fb4',
    500: '#4c1d94',
    950: '#000000',
  },
}
SCSS
$custom: #4c1d94;
$custom-light: #865fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1d94",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 263.697,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37868,
    "c": 0.17721,
    "h": 294
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#4C1D94
secondary
#92BF4E
accent
#EA3EA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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