#4C1DA0#4C1DA0

#4C1DA0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.190 H 291.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4C1DA0
RGBrgb(76, 29, 160)
HSLhsl(262, 69%, 37%)
HSVhsv(262, 82%, 63%)
CMYKcmyk(52.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(26.60, 50.54, -61.83)
CIE-LCHlch(26.60, 79.86, 309.27°)
OKLaboklab(39.04% 0.0681 -0.1777)
OKLCHoklch(39.04% 0.19 291)
XYZxyz(9.7632, 4.9529, 33.6925)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1DA0 #71A01D
analogous
#1D2FA0 #4C1DA0 #8E1DA0
triadic
#4C1DA0 #A04C1D #1DA04C
tetradic
#4C1DA0 #A01D2F #71A01D #1DA08E
square
#4C1DA0 #A01D2F #71A01D #1DA08E
split-complementary
#4C1DA0 #A08E1D #2FA01D
monochromatic
#1B0A38 #33146C #4C1DA0 #6526D4 #8857E1

Accessibility & contrast

On white

10.55
#4C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1DA0
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1DA0#FFFFFF#000000##FFFFFF
##4C1DA01.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1da0;
/* rgb */ color: rgb(76, 29, 160);
/* oklch */ color: oklch(39.0% 0.190 291.0);
Tailwind
colors: {
  custom: {
    50: '#8860bd',
    500: '#4c1da0',
    950: '#000000',
  },
}
SCSS
$custom: #4c1da0;
$custom-light: #8860bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1da0",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 261.527,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39042,
    "c": 0.19032,
    "h": 291
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#4C1DA0
secondary
#9CC455
accent
#EC3CAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4C1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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