#4C3EAD#4C3EAD

#4C3EAD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.6% C 0.170 H 282.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4C3EAD
RGBrgb(76, 62, 173)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 68%)
CMYKcmyk(56.1%, 64.2%, 0%, 32.2%)
CIE-LABlab(33.98, 37.09, -57.58)
CIE-LCHlch(33.98, 68.49, 302.79°)
OKLaboklab(44.65% 0.0376 -0.1654)
OKLCHoklch(44.65% 0.17 282.8)
XYZxyz(12.2436, 7.9981, 40.4257)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EAD #9FAD3E
analogous
#3E67AD #4C3EAD #833EAD
triadic
#4C3EAD #AD4C3E #3EAD4C
tetradic
#4C3EAD #AD3E67 #9FAD3E #3EAD83
square
#4C3EAD #AD3E67 #9FAD3E #3EAD83
split-complementary
#4C3EAD #AD833E #67AD3E
monochromatic
#241E53 #382E80 #4C3EAD #6E62C7 #988FD7

Accessibility & contrast

On white

8.08
#4C3EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4C3EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EAD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EAD#FFFFFF#000000##FFFFFF
##4C3EAD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#1D5970
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c3ead;
/* rgb */ color: rgb(76, 62, 173);
/* oklch */ color: oklch(44.6% 0.170 282.8);
Tailwind
colors: {
  custom: {
    50: '#8774c6',
    500: '#4c3ead',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ead;
$custom-light: #8774c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ead",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 247.568,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44645,
    "c": 0.16963,
    "h": 282.8
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#4C3EAD
secondary
#BAC285
accent
#D751C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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