#4C3AAF#4C3AAF

#4C3AAF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.177 H 283.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4C3AAF
RGBrgb(76, 58, 175)
HSLhsl(249, 50%, 46%)
HSVhsv(249, 67%, 69%)
CMYKcmyk(56.6%, 66.9%, 0%, 31.4%)
CIE-LABlab(33.26, 40.10, -59.94)
CIE-LCHlch(33.26, 72.12, 303.78°)
OKLaboklab(44.17% 0.0412 -0.1724)
OKLCHoklch(44.17% 0.177 283.4)
XYZxyz(12.2290, 7.6570, 41.3827)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AAF #9DAF3A
analogous
#3A62AF #4C3AAF #863AAF
triadic
#4C3AAF #AF4C3A #3AAF4C
tetradic
#4C3AAF #AF3A62 #9DAF3A #3AAF86
square
#4C3AAF #AF3A62 #9DAF3A #3AAF86
split-complementary
#4C3AAF #AF863A #62AF3A
monochromatic
#241C53 #382B81 #4C3AAF #6E5DC9 #978BD9

Accessibility & contrast

On white

8.30
#4C3AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C3AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AAF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AAF#FFFFFF#000000##FFFFFF
##4C3AAF1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#1B586F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3aaf;
/* rgb */ color: rgb(76, 58, 175);
/* oklch */ color: oklch(44.2% 0.177 283.4);
Tailwind
colors: {
  custom: {
    50: '#8871c8',
    500: '#4c3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aaf;
$custom-light: #8871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aaf",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 249.231,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.17722,
    "h": 283.4
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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