#4C1E86#4C1E86

#4C1E86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.161 H 298.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#4C1E86
RGBrgb(76, 30, 134)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 78%, 53%)
CMYKcmyk(43.3%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.28, 43.18, -49.58)
CIE-LCHlch(24.28, 65.74, 311.05°)
OKLaboklab(36.67% 0.0754 -0.1418)
OKLCHoklch(36.67% 0.161 298)
XYZxyz(7.7467, 4.1861, 22.9495)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E86 #58861E
analogous
#1E2486 #4C1E86 #801E86
triadic
#4C1E86 #864C1E #1E864C
tetradic
#4C1E86 #861E24 #58861E #1E8680
square
#4C1E86 #861E24 #58861E #1E8680
split-complementary
#4C1E86 #86801E #24861E
monochromatic
#130822 #301354 #4C1E86 #6829B8 #8748D6

Accessibility & contrast

On white

11.43
#4C1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4C1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E86
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E86#FFFFFF#000000##FFFFFF
##4C1E861.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#3D3951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c1e86;
/* rgb */ color: rgb(76, 30, 134);
/* oklch */ color: oklch(36.7% 0.161 298.0);
Tailwind
colors: {
  custom: {
    50: '#845faa',
    500: '#4c1e86',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e86;
$custom-light: #845faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e86",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 266.538,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3667,
    "c": 0.16064,
    "h": 298
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#4C1E86
secondary
#86B847
accent
#E6419D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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