#4C3BAD#4C3BAD

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

Color values

HEX#4C3BAD
RGBrgb(76, 59, 173)
HSLhsl(249, 49%, 45%)
HSVhsv(249, 66%, 68%)
CMYKcmyk(56.1%, 65.9%, 0%, 32.2%)
CIE-LABlab(33.31, 38.88, -58.67)
CIE-LCHlch(33.31, 70.38, 303.54°)
OKLaboklab(44.16% 0.0405 -0.1686)
OKLCHoklch(44.16% 0.173 283.5)
XYZxyz(12.0850, 7.6808, 40.3728)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3BAD #9CAD3B
analogous
#3B63AD #4C3BAD #853BAD
triadic
#4C3BAD #AD4C3B #3BAD4C
tetradic
#4C3BAD #AD3B63 #9CAD3B #3BAD85
square
#4C3BAD #AD3B63 #9CAD3B #3BAD85
split-complementary
#4C3BAD #AD853B #63AD3B
monochromatic
#241C52 #382B7F #4C3BAD #6D5DC8 #968BD7

Accessibility & contrast

On white

8.28
#4C3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3BAD
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3BAD#FFFFFF#000000##FFFFFF
##4C3BAD1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#1E586F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3bad;
/* rgb */ color: rgb(76, 59, 173);
/* oklch */ color: oklch(44.2% 0.173 283.5);
Tailwind
colors: {
  custom: {
    50: '#8872c6',
    500: '#4c3bad',
    950: '#000000',
  },
}
SCSS
$custom: #4c3bad;
$custom-light: #8872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3bad",
  "rgb": {
    "r": 76,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 248.947,
    "s": 49.138,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.17341,
    "h": 283.5
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#4C3BAD
secondary
#B8C282
accent
#D94FC4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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