#4C3ACC#4C3ACC

#4C3ACC is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.8% C 0.213 H 279.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4C3ACC
RGBrgb(76, 58, 204)
HSLhsl(247, 59%, 51%)
HSVhsv(247, 72%, 80%)
CMYKcmyk(62.7%, 71.6%, 0%, 20%)
CIE-LABlab(35.83, 49.10, -72.78)
CIE-LCHlch(35.83, 87.80, 304.01°)
OKLaboklab(46.81% 0.0364 -0.21)
OKLCHoklch(46.81% 0.213 279.8)
XYZxyz(15.3892, 8.9211, 58.0260)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ACC #BACC3A
analogous
#3A71CC #4C3ACC #953ACC
triadic
#4C3ACC #CC4C3A #3ACC4C
tetradic
#4C3ACC #CC3A71 #BACC3A #3ACC95
square
#4C3ACC #CC3A71 #BACC3A #3ACC95
split-complementary
#4C3ACC #CC953A #71CC3A
monochromatic
#271D6F #3829A0 #4C3ACC #786BD9 #A49BE5

Accessibility & contrast

On white

7.54
#4C3ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4C3ACC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ACC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ACC#FFFFFF#000000##FFFFFF
##4C3ACC1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c3acc;
/* rgb */ color: rgb(76, 58, 204);
/* oklch */ color: oklch(46.8% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#8d72dd',
    500: '#4c3acc',
    950: '#000000',
  },
}
SCSS
$custom: #4c3acc;
$custom-light: #8d72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3acc",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 247.397,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.21312,
    "h": 279.8
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#4C3ACC
secondary
#C9D191
accent
#E246CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4C3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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