#4C3AC6#4C3AC6

#4C3AC6 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.206 H 280.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4C3AC6
RGBrgb(76, 58, 198)
HSLhsl(248, 55%, 50%)
HSVhsv(248, 71%, 78%)
CMYKcmyk(61.6%, 70.7%, 0%, 22.4%)
CIE-LABlab(35.28, 47.26, -70.20)
CIE-LCHlch(35.28, 84.62, 303.95°)
OKLaboklab(46.25% 0.0375 -0.2024)
OKLCHoklch(46.25% 0.206 280.5)
XYZxyz(14.6834, 8.6387, 54.3088)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AC6 #B4C63A
analogous
#3A6EC6 #4C3AC6 #923AC6
triadic
#4C3AC6 #C64C3A #3AC64C
tetradic
#4C3AC6 #C63A6E #B4C63A #3AC692
square
#4C3AC6 #C63A6E #B4C63A #3AC692
split-complementary
#4C3AC6 #C6923A #6EC63A
monochromatic
#271E68 #3A2C97 #4C3AC6 #7769D4 #A299E1

Accessibility & contrast

On white

7.70
#4C3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4C3AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AC6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AC6#FFFFFF#000000##FFFFFF
##4C3AC61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c3ac6;
/* rgb */ color: rgb(76, 58, 198);
/* oklch */ color: oklch(46.2% 0.206 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c72d8',
    500: '#4c3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ac6;
$custom-light: #8c72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ac6",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 247.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.20586,
    "h": 280.5
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#4C3AC6
secondary
#C5CD8F
accent
#DE49CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4C3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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