#4C1CA1#4C1CA1

#4C1CA1 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.0% C 0.192 H 290.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4C1CA1
RGBrgb(76, 28, 161)
HSLhsl(262, 70%, 37%)
HSVhsv(262, 83%, 63%)
CMYKcmyk(52.8%, 82.6%, 0%, 36.9%)
CIE-LABlab(26.56, 51.21, -62.50)
CIE-LCHlch(26.56, 80.80, 309.33°)
OKLaboklab(39.05% 0.0684 -0.1797)
OKLCHoklch(39.05% 0.192 290.8)
XYZxyz(9.8269, 4.9398, 34.1470)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1CA1 #71A11C
analogous
#1C2FA1 #4C1CA1 #8F1CA1
triadic
#4C1CA1 #A14C1C #1CA14C
tetradic
#4C1CA1 #A11C2F #71A11C #1CA18F
square
#4C1CA1 #A11C2F #71A11C #1CA18F
split-complementary
#4C1CA1 #A18F1C #2FA11C
monochromatic
#1B0A39 #33136D #4C1CA1 #6525D5 #8856E2

Accessibility & contrast

On white

10.56
#4C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4C1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1CA1
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1CA1#FFFFFF#000000##FFFFFF
##4C1CA11.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1ca1;
/* rgb */ color: rgb(76, 28, 161);
/* oklch */ color: oklch(39.0% 0.192 290.8);
Tailwind
colors: {
  custom: {
    50: '#8860be',
    500: '#4c1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #4c1ca1;
$custom-light: #8860be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1ca1",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 261.654,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39046,
    "c": 0.19225,
    "h": 290.8
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#4C1CA1
secondary
#9CC554
accent
#ED3BAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4C1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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