#4C3AA5#4C3AA5

#4C3AA5 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.164 H 284.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4C3AA5
RGBrgb(76, 58, 165)
HSLhsl(250, 48%, 44%)
HSVhsv(250, 65%, 65%)
CMYKcmyk(53.9%, 64.8%, 0%, 35.3%)
CIE-LABlab(32.43, 36.97, -55.30)
CIE-LCHlch(32.43, 66.52, 303.76°)
OKLaboklab(43.32% 0.0423 -0.1587)
OKLCHoklch(43.32% 0.164 284.9)
XYZxyz(11.2830, 7.2786, 36.4004)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AA5 #93A53A
analogous
#3A5DA5 #4C3AA5 #813AA5
triadic
#4C3AA5 #A54C3A #3AA54C
tetradic
#4C3AA5 #A53A5D #93A53A #3AA581
square
#4C3AA5 #A53A5D #93A53A #3AA581
split-complementary
#4C3AA5 #A5813A #5DA53A
monochromatic
#221A4A #372A78 #4C3AA5 #6A58C4 #9285D4

Accessibility & contrast

On white

8.55
#4C3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C3AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AA5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AA5#FFFFFF#000000##FFFFFF
##4C3AA51.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#27546A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c3aa5;
/* rgb */ color: rgb(76, 58, 165);
/* oklch */ color: oklch(43.3% 0.164 284.9);
Tailwind
colors: {
  custom: {
    50: '#8671c1',
    500: '#4c3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aa5;
$custom-light: #8671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aa5",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 250.093,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43319,
    "c": 0.16428,
    "h": 284.9
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#4C3AA5
secondary
#B3BE7D
accent
#D850C1
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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