#4C1CA9#4C1CA9

#4C1CA9 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.9% C 0.201 H 289.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4C1CA9
RGBrgb(76, 28, 169)
HSLhsl(260, 72%, 39%)
HSVhsv(260, 83%, 66%)
CMYKcmyk(55%, 83.4%, 0%, 33.7%)
CIE-LABlab(27.38, 53.34, -65.99)
CIE-LCHlch(27.38, 84.85, 308.95°)
OKLaboklab(39.86% 0.0655 -0.1899)
OKLCHoklch(39.86% 0.201 289)
XYZxyz(10.5551, 5.2311, 37.9820)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1CA9 #79A91C
analogous
#1C32A9 #4C1CA9 #921CA9
triadic
#4C1CA9 #A94C1C #1CA94C
tetradic
#4C1CA9 #A91C32 #79A91C #1CA992
square
#4C1CA9 #A91C32 #79A91C #1CA992
split-complementary
#4C1CA9 #A9921C #32A91C
monochromatic
#1D0B40 #341374 #4C1CA9 #6427DB #8A5BE4

Accessibility & contrast

On white

10.26
#4C1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4C1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1CA9
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1CA9#FFFFFF#000000##FFFFFF
##4C1CA91.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#254765
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c1ca9;
/* rgb */ color: rgb(76, 28, 169);
/* oklch */ color: oklch(39.9% 0.201 289.0);
Tailwind
colors: {
  custom: {
    50: '#8960c4',
    500: '#4c1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4c1ca9;
$custom-light: #8960c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1ca9",
  "rgb": {
    "r": 76,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 260.426,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.20086,
    "h": 289
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#4C1CA9
secondary
#A2C859
accent
#EE39B1
background
#F9F5FC
surface
#F1EAF8
border
#CBC6D1
text
#0D0513
muted
#7E7982

Preview Lab

Preview with #4C1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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