#4C1E93#4C1E93

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

Color values

HEX#4C1E93
RGBrgb(76, 30, 147)
HSLhsl(264, 66%, 35%)
HSVhsv(264, 80%, 58%)
CMYKcmyk(48.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(25.48, 46.64, -55.70)
CIE-LCHlch(25.48, 72.65, 309.94°)
OKLaboklab(37.88% 0.0717 -0.1598)
OKLCHoklch(37.88% 0.175 294.2)
XYZxyz(8.7098, 4.5714, 28.0216)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E93 #65931E
analogous
#1E2A93 #4C1E93 #871E93
triadic
#4C1E93 #934C1E #1E934C
tetradic
#4C1E93 #931E2A #65931E #1E9387
square
#4C1E93 #931E2A #65931E #1E9387
split-complementary
#4C1E93 #93871E #2A931E
monochromatic
#17092D #321460 #4C1E93 #6628C6 #8750DB

Accessibility & contrast

On white

10.97
#4C1E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1E93
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E93#FFFFFF#000000##FFFFFF
##4C1E931.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#373F58
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c1e93;
/* rgb */ color: rgb(76, 30, 147);
/* oklch */ color: oklch(37.9% 0.175 294.2);
Tailwind
colors: {
  custom: {
    50: '#8660b4',
    500: '#4c1e93',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e93;
$custom-light: #8660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e93",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 263.59,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37878,
    "c": 0.17513,
    "h": 294.2
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#4C1E93
secondary
#92BE4F
accent
#E93FA6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1E93

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

Preview Lab → · Contrast checker → · Palette generator →

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