#4C3AA4#4C3AA4

#4C3AA4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.2% C 0.163 H 285.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4C3AA4
RGBrgb(76, 58, 164)
HSLhsl(250, 48%, 44%)
HSVhsv(250, 65%, 64%)
CMYKcmyk(53.7%, 64.6%, 0%, 35.7%)
CIE-LABlab(32.35, 36.66, -54.83)
CIE-LCHlch(32.35, 65.96, 303.77°)
OKLaboklab(43.24% 0.0424 -0.1573)
OKLCHoklch(43.24% 0.163 285.1)
XYZxyz(11.1924, 7.2423, 35.9229)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AA4 #92A43A
analogous
#3A5DA4 #4C3AA4 #813AA4
triadic
#4C3AA4 #A44C3A #3AA44C
tetradic
#4C3AA4 #A43A5D #92A43A #3AA481
square
#4C3AA4 #A43A5D #92A43A #3AA481
split-complementary
#4C3AA4 #A4813A #5DA43A
monochromatic
#221A4A #372A77 #4C3AA4 #6A57C4 #9285D4

Accessibility & contrast

On white

8.58
#4C3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4C3AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AA4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AA4#FFFFFF#000000##FFFFFF
##4C3AA41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#285469
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c3aa4;
/* rgb */ color: rgb(76, 58, 164);
/* oklch */ color: oklch(43.2% 0.163 285.1);
Tailwind
colors: {
  custom: {
    50: '#8671c0',
    500: '#4c3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aa4;
$custom-light: #8671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aa4",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 250.189,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43236,
    "c": 0.16297,
    "h": 285.1
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#4C3AA4
secondary
#B3BE7C
accent
#D750C0
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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