#4C3EAE#4C3EAE

#4C3EAE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.171 H 282.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4C3EAE
RGBrgb(76, 62, 174)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 68%)
CMYKcmyk(56.3%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.06, 37.41, -58.04)
CIE-LCHlch(34.06, 69.05, 302.80°)
OKLaboklab(44.73% 0.0375 -0.1668)
OKLCHoklch(44.73% 0.171 282.7)
XYZxyz(12.3407, 8.0370, 40.9372)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EAE #A0AE3E
analogous
#3E68AE #4C3EAE #843EAE
triadic
#4C3EAE #AE4C3E #3EAE4C
tetradic
#4C3EAE #AE3E68 #A0AE3E #3EAE84
square
#4C3EAE #AE3E68 #A0AE3E #3EAE84
split-complementary
#4C3EAE #AE843E #68AE3E
monochromatic
#251E54 #382E81 #4C3EAE #6F62C7 #988FD7

Accessibility & contrast

On white

8.05
#4C3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4C3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EAE
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EAE#FFFFFF#000000##FFFFFF
##4C3EAE1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#1C5A70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c3eae;
/* rgb */ color: rgb(76, 62, 174);
/* oklch */ color: oklch(44.7% 0.171 282.7);
Tailwind
colors: {
  custom: {
    50: '#8874c7',
    500: '#4c3eae',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eae;
$custom-light: #8874c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eae",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 247.5,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.17094,
    "h": 282.7
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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