#4C3EA1#4C3EA1

#4C3EA1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.154 H 284.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4C3EA1
RGBrgb(76, 62, 161)
HSLhsl(248, 44%, 44%)
HSVhsv(248, 61%, 63%)
CMYKcmyk(52.8%, 61.5%, 0%, 36.9%)
CIE-LABlab(33.04, 33.28, -51.91)
CIE-LCHlch(33.04, 61.66, 302.67°)
OKLaboklab(43.66% 0.0385 -0.1487)
OKLCHoklch(43.66% 0.154 284.5)
XYZxyz(11.1342, 7.5544, 34.5828)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EA1 #93A13E
analogous
#3E61A1 #4C3EA1 #7D3EA1
triadic
#4C3EA1 #A14C3E #3EA14C
tetradic
#4C3EA1 #A13E61 #93A13E #3EA17D
square
#4C3EA1 #A13E61 #93A13E #3EA17D
split-complementary
#4C3EA1 #A17D3E #61A13E
monochromatic
#221C49 #372D75 #4C3EA1 #6A5CC0 #9288D1

Accessibility & contrast

On white

8.36
#4C3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4C3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EA1
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EA1#FFFFFF#000000##FFFFFF
##4C3EA11.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#2A5569
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3ea1;
/* rgb */ color: rgb(76, 62, 161);
/* oklch */ color: oklch(43.7% 0.154 284.5);
Tailwind
colors: {
  custom: {
    50: '#8574be',
    500: '#4c3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ea1;
$custom-light: #8574be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ea1",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 248.485,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43662,
    "c": 0.15365,
    "h": 284.5
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#4C3EA1
secondary
#B3BC7F
accent
#D454C2
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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