#4C3AA2#4C3AA2

#4C3AA2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.1% C 0.160 H 285.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4C3AA2
RGBrgb(76, 58, 162)
HSLhsl(250, 47%, 43%)
HSVhsv(250, 64%, 64%)
CMYKcmyk(53.1%, 64.2%, 0%, 36.5%)
CIE-LABlab(32.19, 36.03, -53.89)
CIE-LCHlch(32.19, 64.82, 303.77°)
OKLaboklab(43.07% 0.0426 -0.1546)
OKLCHoklch(43.07% 0.16 285.4)
XYZxyz(11.0132, 7.1707, 34.9792)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AA2 #90A23A
analogous
#3A5CA2 #4C3AA2 #803AA2
triadic
#4C3AA2 #A24C3A #3AA24C
tetradic
#4C3AA2 #A23A5C #90A23A #3AA280
square
#4C3AA2 #A23A5C #90A23A #3AA280
split-complementary
#4C3AA2 #A2803A #5CA23A
monochromatic
#221A48 #372A75 #4C3AA2 #6957C3 #9184D3

Accessibility & contrast

On white

8.63
#4C3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AA2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AA2#FFFFFF#000000##FFFFFF
##4C3AA21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#2A5368
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c3aa2;
/* rgb */ color: rgb(76, 58, 162);
/* oklch */ color: oklch(43.1% 0.160 285.4);
Tailwind
colors: {
  custom: {
    50: '#8671be',
    500: '#4c3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aa2;
$custom-light: #8671be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aa2",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 250.385,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.16035,
    "h": 285.4
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#4C3AA2
secondary
#B1BD7B
accent
#D751C0
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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