#4C3EB3#4C3EB3

#4C3EB3 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.2% C 0.177 H 282.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4C3EB3
RGBrgb(76, 62, 179)
HSLhsl(247, 49%, 47%)
HSVhsv(247, 65%, 70%)
CMYKcmyk(57.5%, 65.4%, 0%, 29.8%)
CIE-LABlab(34.47, 39.00, -60.35)
CIE-LCHlch(34.47, 71.85, 302.87°)
OKLaboklab(45.15% 0.037 -0.1735)
OKLCHoklch(45.15% 0.177 282)
XYZxyz(12.8373, 8.2356, 43.5523)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EB3 #A5B33E
analogous
#3E6BB3 #4C3EB3 #863EB3
triadic
#4C3EB3 #B34C3E #3EB34C
tetradic
#4C3EB3 #B33E6B #A5B33E #3EB386
square
#4C3EB3 #B33E6B #A5B33E #3EB386
split-complementary
#4C3EB3 #B3863E #6BB33E
monochromatic
#251F58 #392E86 #4C3EB3 #7165CA #9B92D9

Accessibility & contrast

On white

7.93
#4C3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4C3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EB3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EB3#FFFFFF#000000##FFFFFF
##4C3EB31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#135B73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c3eb3;
/* rgb */ color: rgb(76, 62, 179);
/* oklch */ color: oklch(45.2% 0.177 282.0);
Tailwind
colors: {
  custom: {
    50: '#8874cb',
    500: '#4c3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eb3;
$custom-light: #8874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eb3",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 247.179,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45153,
    "c": 0.17744,
    "h": 282
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#4C3EB3
secondary
#BDC588
accent
#D850C8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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