#4C3CAF#4C3CAF

#4C3CAF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.175 H 283.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4C3CAF
RGBrgb(76, 60, 175)
HSLhsl(248, 49%, 46%)
HSVhsv(248, 66%, 69%)
CMYKcmyk(56.6%, 65.7%, 0%, 31.4%)
CIE-LABlab(33.70, 38.92, -59.23)
CIE-LCHlch(33.70, 70.87, 303.31°)
OKLaboklab(44.49% 0.0393 -0.1703)
OKLCHoklch(44.49% 0.175 283)
XYZxyz(12.3318, 7.8626, 41.4169)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CAF #9FAF3C
analogous
#3C65AF #4C3CAF #853CAF
triadic
#4C3CAF #AF4C3C #3CAF4C
tetradic
#4C3CAF #AF3C65 #9FAF3C #3CAF85
square
#4C3CAF #AF3C65 #9FAF3C #3CAF85
split-complementary
#4C3CAF #AF853C #65AF3C
monochromatic
#241D54 #382C81 #4C3CAF #6E60C8 #988DD8

Accessibility & contrast

On white

8.16
#4C3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CAF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CAF#FFFFFF#000000##FFFFFF
##4C3CAF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#1A5970
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3caf;
/* rgb */ color: rgb(76, 60, 175);
/* oklch */ color: oklch(44.5% 0.175 283.0);
Tailwind
colors: {
  custom: {
    50: '#8873c8',
    500: '#4c3caf',
    950: '#000000',
  },
}
SCSS
$custom: #4c3caf;
$custom-light: #8873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3caf",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 248.348,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.17475,
    "h": 283
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#4C3CAF
secondary
#BAC384
accent
#D84FC5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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