#4C3EA3#4C3EA3

#4C3EA3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.156 H 284.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4C3EA3
RGBrgb(76, 62, 163)
HSLhsl(248, 45%, 44%)
HSVhsv(248, 62%, 64%)
CMYKcmyk(53.4%, 62%, 0%, 36.1%)
CIE-LABlab(33.19, 33.92, -52.87)
CIE-LCHlch(33.19, 62.81, 302.68°)
OKLaboklab(43.82% 0.0384 -0.1516)
OKLCHoklch(43.82% 0.156 284.2)
XYZxyz(11.3120, 7.6255, 35.5190)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EA3 #95A33E
analogous
#3E63A3 #4C3EA3 #7F3EA3
triadic
#4C3EA3 #A34C3E #3EA34C
tetradic
#4C3EA3 #A33E63 #95A33E #3EA37F
square
#4C3EA3 #A33E63 #95A33E #3EA37F
split-complementary
#4C3EA3 #A37F3E #63A33E
monochromatic
#231C4A #372D77 #4C3EA3 #6B5DC1 #9389D2

Accessibility & contrast

On white

8.32
#4C3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EA3
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EA3#FFFFFF#000000##FFFFFF
##4C3EA31.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#28566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3ea3;
/* rgb */ color: rgb(76, 62, 163);
/* oklch */ color: oklch(43.8% 0.156 284.2);
Tailwind
colors: {
  custom: {
    50: '#8674bf',
    500: '#4c3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ea3;
$custom-light: #8674bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ea3",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 248.317,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43822,
    "c": 0.15635,
    "h": 284.2
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#4C3EA3
secondary
#B4BD80
accent
#D553C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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