#4C3FA2#4C3FA2

#4C3FA2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.154 H 284.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#4C3FA2
RGBrgb(76, 63, 162)
HSLhsl(248, 44%, 44%)
HSVhsv(248, 61%, 64%)
CMYKcmyk(53.1%, 61.1%, 0%, 36.5%)
CIE-LABlab(33.35, 32.98, -52.01)
CIE-LCHlch(33.35, 61.58, 302.38°)
OKLaboklab(43.91% 0.0374 -0.149)
OKLCHoklch(43.91% 0.154 284.1)
XYZxyz(11.2776, 7.6995, 35.0673)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FA2 #95A23F
analogous
#3F64A2 #4C3FA2 #7E3FA2
triadic
#4C3FA2 #A24C3F #3FA24C
tetradic
#4C3FA2 #A23F64 #95A23F #3FA27E
square
#4C3FA2 #A23F64 #95A23F #3FA27E
split-complementary
#4C3FA2 #A27E3F #64A23F
monochromatic
#231D4A #372E76 #4C3FA2 #6B5EC0 #938AD1

Accessibility & contrast

On white

8.27
#4C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3FA2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FA2#FFFFFF#000000##FFFFFF
##4C3FA21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#29566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3fa2;
/* rgb */ color: rgb(76, 63, 162);
/* oklch */ color: oklch(43.9% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#8674be',
    500: '#4c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fa2;
$custom-light: #8674be;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fa2",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 247.879,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43914,
    "c": 0.15364,
    "h": 284.1
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#4C3FA2
secondary
#B4BC81
accent
#D454C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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