#4C1DA1#4C1DA1

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

Color values

HEX#4C1DA1
RGBrgb(76, 29, 161)
HSLhsl(261, 69%, 37%)
HSVhsv(261, 82%, 63%)
CMYKcmyk(52.8%, 82%, 0%, 36.9%)
CIE-LABlab(26.70, 50.81, -62.27)
CIE-LCHlch(26.70, 80.37, 309.21°)
OKLaboklab(39.14% 0.0678 -0.179)
OKLCHoklch(39.14% 0.191 290.7)
XYZxyz(9.8510, 4.9880, 34.1550)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1DA1 #72A11D
analogous
#1D30A1 #4C1DA1 #8E1DA1
triadic
#4C1DA1 #A14C1D #1DA14C
tetradic
#4C1DA1 #A11D30 #72A11D #1DA18E
square
#4C1DA1 #A11D30 #72A11D #1DA18E
split-complementary
#4C1DA1 #A18E1D #30A11D
monochromatic
#1B0A39 #34146D #4C1DA1 #6426D5 #8858E1

Accessibility & contrast

On white

10.51
#4C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1DA1
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1DA1#FFFFFF#000000##FFFFFF
##4C1DA11.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.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: #4c1da1;
/* rgb */ color: rgb(76, 29, 161);
/* oklch */ color: oklch(39.1% 0.191 290.7);
Tailwind
colors: {
  custom: {
    50: '#8860be',
    500: '#4c1da1',
    950: '#000000',
  },
}
SCSS
$custom: #4c1da1;
$custom-light: #8860be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1da1",
  "rgb": {
    "r": 76,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 261.364,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39141,
    "c": 0.19142,
    "h": 290.7
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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