#4C3CAE#4C3CAE

#4C3CAE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.173 H 283.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4C3CAE
RGBrgb(76, 60, 174)
HSLhsl(248, 49%, 46%)
HSVhsv(248, 66%, 68%)
CMYKcmyk(56.3%, 65.5%, 0%, 31.8%)
CIE-LABlab(33.61, 38.61, -58.77)
CIE-LCHlch(33.61, 70.31, 303.30°)
OKLaboklab(44.4% 0.0394 -0.1689)
OKLCHoklch(44.4% 0.173 283.1)
XYZxyz(12.2340, 7.8235, 40.9016)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CAE #9EAE3C
analogous
#3C65AE #4C3CAE #853CAE
triadic
#4C3CAE #AE4C3C #3CAE4C
tetradic
#4C3CAE #AE3C65 #9EAE3C #3CAE85
square
#4C3CAE #AE3C65 #9EAE3C #3CAE85
split-complementary
#4C3CAE #AE853C #65AE3C
monochromatic
#241D53 #382C80 #4C3CAE #6E5FC8 #978DD8

Accessibility & contrast

On white

8.19
#4C3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4C3CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CAE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CAE#FFFFFF#000000##FFFFFF
##4C3CAE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#1C596F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3cae;
/* rgb */ color: rgb(76, 60, 174);
/* oklch */ color: oklch(44.4% 0.173 283.1);
Tailwind
colors: {
  custom: {
    50: '#8873c7',
    500: '#4c3cae',
    950: '#000000',
  },
}
SCSS
$custom: #4c3cae;
$custom-light: #8873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3cae",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 248.421,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.17346,
    "h": 283.1
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#4C3CAE
secondary
#B9C283
accent
#D850C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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