#4C1E85#4C1E85

#4C1E85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.160 H 298.3°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#4C1E85
RGBrgb(76, 30, 133)
HSLhsl(267, 63%, 32%)
HSVhsv(267, 77%, 52%)
CMYKcmyk(42.9%, 77.4%, 0%, 47.8%)
CIE-LABlab(24.19, 42.91, -49.10)
CIE-LCHlch(24.19, 65.21, 311.15°)
OKLaboklab(36.58% 0.0757 -0.1404)
OKLCHoklch(36.58% 0.16 298.3)
XYZxyz(7.6773, 4.1584, 22.5839)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1E85 #57851E
analogous
#1E2485 #4C1E85 #801E85
triadic
#4C1E85 #854C1E #1E854C
tetradic
#4C1E85 #851E24 #57851E #1E8580
square
#4C1E85 #851E24 #57851E #1E8580
split-complementary
#4C1E85 #85801E #24851E
monochromatic
#130721 #2F1353 #4C1E85 #6929B7 #8748D6

Accessibility & contrast

On white

11.46
#4C1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4C1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1E85
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1E85#FFFFFF#000000##FFFFFF
##4C1E851.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#3E3950
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4c1e85;
/* rgb */ color: rgb(76, 30, 133);
/* oklch */ color: oklch(36.6% 0.160 298.3);
Tailwind
colors: {
  custom: {
    50: '#845fa9',
    500: '#4c1e85',
    950: '#000000',
  },
}
SCSS
$custom: #4c1e85;
$custom-light: #845fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1e85",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 266.796,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3658,
    "c": 0.15951,
    "h": 298.3
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#4C1E85
secondary
#85B847
accent
#E6429D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4C1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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