#4C1EA1#4C1EA1

#4C1EA1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.191 H 290.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#4C1EA1
RGBrgb(76, 30, 161)
HSLhsl(261, 69%, 37%)
HSVhsv(261, 81%, 63%)
CMYKcmyk(52.8%, 81.4%, 0%, 36.9%)
CIE-LABlab(26.84, 50.40, -62.04)
CIE-LCHlch(26.84, 79.93, 309.09°)
OKLaboklab(39.24% 0.0671 -0.1783)
OKLCHoklch(39.24% 0.191 290.6)
XYZxyz(9.8759, 5.0378, 34.1633)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1EA1 #73A11E
analogous
#1E31A1 #4C1EA1 #8E1EA1
triadic
#4C1EA1 #A14C1E #1EA14C
tetradic
#4C1EA1 #A11E31 #73A11E #1EA18E
square
#4C1EA1 #A11E31 #73A11E #1EA18E
split-complementary
#4C1EA1 #A18E1E #31A11E
monochromatic
#1B0B3A #34146D #4C1EA1 #6428D5 #8959E0

Accessibility & contrast

On white

10.46
#4C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4C1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1EA1
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1EA1#FFFFFF#000000##FFFFFF
##4C1EA11.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#2D4560
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c1ea1;
/* rgb */ color: rgb(76, 30, 161);
/* oklch */ color: oklch(39.2% 0.191 290.6);
Tailwind
colors: {
  custom: {
    50: '#8861be',
    500: '#4c1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4c1ea1;
$custom-light: #8861be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1ea1",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 261.069,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.19055,
    "h": 290.6
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#4C1EA1
secondary
#9EC457
accent
#EB3CAE
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4C1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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