#4C3EAC#4C3EAC

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

Color values

HEX#4C3EAC
RGBrgb(76, 62, 172)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 67%)
CMYKcmyk(55.8%, 64%, 0%, 32.5%)
CIE-LABlab(33.90, 36.77, -57.11)
CIE-LCHlch(33.90, 67.93, 302.78°)
OKLaboklab(44.56% 0.0377 -0.164)
OKLCHoklch(44.56% 0.168 282.9)
XYZxyz(12.1472, 7.9596, 39.9180)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EAC #9EAC3E
analogous
#3E67AC #4C3EAC #833EAC
triadic
#4C3EAC #AC4C3E #3EAC4C
tetradic
#4C3EAC #AC3E67 #9EAC3E #3EAC83
square
#4C3EAC #AC3E67 #9EAC3E #3EAC83
split-complementary
#4C3EAC #AC833E #67AC3E
monochromatic
#241E52 #382E7F #4C3EAC #6E61C6 #978ED6

Accessibility & contrast

On white

8.10
#4C3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4C3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EAC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EAC#FFFFFF#000000##FFFFFF
##4C3EAC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#1E596F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c3eac;
/* rgb */ color: rgb(76, 62, 172);
/* oklch */ color: oklch(44.6% 0.168 282.9);
Tailwind
colors: {
  custom: {
    50: '#8774c6',
    500: '#4c3eac',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eac;
$custom-light: #8774c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eac",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 247.636,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44561,
    "c": 0.16832,
    "h": 282.9
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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