#4C3FA3#4C3FA3

#4C3FA3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.155 H 283.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4C3FA3
RGBrgb(76, 63, 163)
HSLhsl(248, 44%, 44%)
HSVhsv(248, 61%, 64%)
CMYKcmyk(53.4%, 61.3%, 0%, 36.1%)
CIE-LABlab(33.43, 33.30, -52.49)
CIE-LCHlch(33.43, 62.16, 302.40°)
OKLaboklab(43.99% 0.0373 -0.1504)
OKLCHoklch(43.99% 0.155 283.9)
XYZxyz(11.3669, 7.7352, 35.5373)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3FA3 #96A33F
analogous
#3F64A3 #4C3FA3 #7E3FA3
triadic
#4C3FA3 #A34C3F #3FA34C
tetradic
#4C3FA3 #A33F64 #96A33F #3FA37E
square
#4C3FA3 #A33F64 #96A33F #3FA37E
split-complementary
#4C3FA3 #A37E3F #64A33F
monochromatic
#231D4B #372E77 #4C3FA3 #6B5EC1 #948AD2

Accessibility & contrast

On white

8.24
#4C3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C3FA3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3FA3#FFFFFF#000000##FFFFFF
##4C3FA31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#28576B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c3fa3;
/* rgb */ color: rgb(76, 63, 163);
/* oklch */ color: oklch(44.0% 0.155 283.9);
Tailwind
colors: {
  custom: {
    50: '#8674bf',
    500: '#4c3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #4c3fa3;
$custom-light: #8674bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3fa3",
  "rgb": {
    "r": 76,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 247.8,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.155,
    "h": 283.9
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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