#4C1AA0#4C1AA0

#4C1AA0 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.8% C 0.193 H 291.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4C1AA0
RGBrgb(76, 26, 160)
HSLhsl(262, 72%, 36%)
HSVhsv(262, 84%, 63%)
CMYKcmyk(52.5%, 83.8%, 0%, 37.3%)
CIE-LABlab(26.20, 51.73, -62.49)
CIE-LCHlch(26.20, 81.13, 309.62°)
OKLaboklab(38.76% 0.07 -0.1796)
OKLCHoklch(38.76% 0.193 291.3)
XYZxyz(9.6932, 4.8130, 33.6691)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1AA0 #6EA01A
analogous
#1A2BA0 #4C1AA0 #8F1AA0
triadic
#4C1AA0 #A04C1A #1AA04C
tetradic
#4C1AA0 #A01A2B #6EA01A #1AA08F
square
#4C1AA0 #A01A2B #6EA01A #1AA08F
split-complementary
#4C1AA0 #A08F1A #2BA01A
monochromatic
#1A0937 #33116B #4C1AA0 #6523D5 #8852E3

Accessibility & contrast

On white

10.70
#4C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4C1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1AA0
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1AA0#FFFFFF#000000##FFFFFF
##4C1AA01.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#2E435F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c1aa0;
/* rgb */ color: rgb(76, 26, 160);
/* oklch */ color: oklch(38.8% 0.193 291.3);
Tailwind
colors: {
  custom: {
    50: '#885fbd',
    500: '#4c1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #4c1aa0;
$custom-light: #885fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1aa0",
  "rgb": {
    "r": 76,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 262.388,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.1928,
    "h": 291.3
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#4C1AA0
secondary
#9AC550
accent
#EF39AB
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981

Preview Lab

Preview with #4C1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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