#4C1EA0#4C1EA0

#4C1EA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.189 H 290.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4C1EA0
RGBrgb(76, 30, 160)
HSLhsl(261, 68%, 37%)
HSVhsv(261, 81%, 63%)
CMYKcmyk(52.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(26.74, 50.13, -61.59)
CIE-LCHlch(26.74, 79.41, 309.14°)
OKLaboklab(39.14% 0.0674 -0.1771)
OKLCHoklch(39.14% 0.189 290.9)
XYZxyz(9.7881, 5.0027, 33.7008)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1EA0 #72A01E
analogous
#1E31A0 #4C1EA0 #8D1EA0
triadic
#4C1EA0 #A04C1E #1EA04C
tetradic
#4C1EA0 #A01E31 #72A01E #1EA08D
square
#4C1EA0 #A01E31 #72A01E #1EA08D
split-complementary
#4C1EA0 #A08D1E #31A01E
monochromatic
#1B0B39 #34146C #4C1EA0 #6428D4 #8859E0

Accessibility & contrast

On white

10.50
#4C1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4C1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1EA0
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1EA0#FFFFFF#000000##FFFFFF
##4C1EA01.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#2E4460
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4c1ea0;
/* rgb */ color: rgb(76, 30, 160);
/* oklch */ color: oklch(39.1% 0.189 290.9);
Tailwind
colors: {
  custom: {
    50: '#8861bd',
    500: '#4c1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4c1ea0;
$custom-light: #8861bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1ea0",
  "rgb": {
    "r": 76,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 261.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.18946,
    "h": 290.9
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#4C1EA0
secondary
#9DC456
accent
#EB3DAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4C1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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