#4C3AC1#4C3AC1

#4C3AC1 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.8% C 0.200 H 281.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#4C3AC1
RGBrgb(76, 58, 193)
HSLhsl(248, 54%, 49%)
HSVhsv(248, 70%, 76%)
CMYKcmyk(60.6%, 69.9%, 0%, 24.3%)
CIE-LABlab(34.83, 45.71, -68.02)
CIE-LCHlch(34.83, 81.95, 303.90°)
OKLaboklab(45.78% 0.0384 -0.196)
OKLCHoklch(45.78% 0.2 281.1)
XYZxyz(14.1162, 8.4119, 51.3215)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AC1 #AFC13A
analogous
#3A6CC1 #4C3AC1 #903AC1
triadic
#4C3AC1 #C14C3A #3AC14C
tetradic
#4C3AC1 #C13A6C #AFC13A #3AC190
square
#4C3AC1 #C13A6C #AFC13A #3AC190
split-complementary
#4C3AC1 #C1903A #6CC13A
monochromatic
#271E63 #392C92 #4C3AC1 #7567D1 #A096DF

Accessibility & contrast

On white

7.83
#4C3AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4C3AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AC1
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AC1#FFFFFF#000000##FFFFFF
##4C3AC11.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c3ac1;
/* rgb */ color: rgb(76, 58, 193);
/* oklch */ color: oklch(45.8% 0.200 281.1);
Tailwind
colors: {
  custom: {
    50: '#8b72d5',
    500: '#4c3ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ac1;
$custom-light: #8b72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ac1",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 248,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45783,
    "c": 0.19976,
    "h": 281.1
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#4C3AC1
secondary
#C2CB8C
accent
#DD4BCA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4C3AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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