#4C3AAE#4C3AAE

#4C3AAE is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.176 H 283.6°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4C3AAE
RGBrgb(76, 58, 174)
HSLhsl(249, 50%, 45%)
HSVhsv(249, 67%, 68%)
CMYKcmyk(56.3%, 66.7%, 0%, 31.8%)
CIE-LABlab(33.17, 39.79, -59.48)
CIE-LCHlch(33.17, 71.56, 303.78°)
OKLaboklab(44.09% 0.0413 -0.171)
OKLCHoklch(44.09% 0.176 283.6)
XYZxyz(12.1312, 7.6179, 40.8673)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AAE #9CAE3A
analogous
#3A62AE #4C3AAE #863AAE
triadic
#4C3AAE #AE4C3A #3AAE4C
tetradic
#4C3AAE #AE3A62 #9CAE3A #3AAE86
square
#4C3AAE #AE3A62 #9CAE3A #3AAE86
split-complementary
#4C3AAE #AE863A #62AE3A
monochromatic
#241B52 #382B80 #4C3AAE #6D5CC9 #968AD8

Accessibility & contrast

On white

8.32
#4C3AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C3AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AAE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AAE#FFFFFF#000000##FFFFFF
##4C3AAE1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#1C576F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3aae;
/* rgb */ color: rgb(76, 58, 174);
/* oklch */ color: oklch(44.1% 0.176 283.6);
Tailwind
colors: {
  custom: {
    50: '#8871c7',
    500: '#4c3aae',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aae;
$custom-light: #8871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aae",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 249.31,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.17593,
    "h": 283.6
  },
  "luminance": 0.07619
}

Semantic roles & 50–950 ramp

primary
#4C3AAE
secondary
#B8C281
accent
#DA4EC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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