#4C3FA4#4C3FA4

#4C3FA4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.1% C 0.156 H 283.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4C3FA4
RGBrgb(76, 63, 164)
HSLhsl(248, 44%, 45%)
HSVhsv(248, 62%, 64%)
CMYKcmyk(53.7%, 61.6%, 0%, 35.7%)
CIE-LABlab(33.50, 33.62, -52.96)
CIE-LCHlch(33.50, 62.73, 302.41°)
OKLaboklab(44.07% 0.0373 -0.1518)
OKLCHoklch(44.07% 0.156 283.8)
XYZxyz(11.4568, 7.7712, 36.0111)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FA4 #97A43F
analogous
#3F65A4 #4C3FA4 #7F3FA4
triadic
#4C3FA4 #A44C3F #3FA44C
tetradic
#4C3FA4 #A43F65 #97A43F #3FA47F
square
#4C3FA4 #A43F65 #97A43F #3FA47F
split-complementary
#4C3FA4 #A47F3F #65A43F
monochromatic
#231D4C #382E78 #4C3FA4 #6B5FC1 #948BD2

Accessibility & contrast

On white

8.22
#4C3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FA4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FA4#FFFFFF#000000##FFFFFF
##4C3FA41.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#27576B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3fa4;
/* rgb */ color: rgb(76, 63, 164);
/* oklch */ color: oklch(44.1% 0.156 283.8);
Tailwind
colors: {
  custom: {
    50: '#8675c0',
    500: '#4c3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fa4;
$custom-light: #8675c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fa4",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 247.723,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.15634,
    "h": 283.8
  },
  "luminance": 0.07772
}

Semantic roles & 50–950 ramp

primary
#4C3FA4
secondary
#B6BD82
accent
#D454C4
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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