#4C3ED2#4C3ED2

#4C3ED2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.9% C 0.216 H 278.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4C3ED2
RGBrgb(76, 62, 210)
HSLhsl(246, 62%, 53%)
HSVhsv(246, 70%, 82%)
CMYKcmyk(63.8%, 70.5%, 0%, 17.6%)
CIE-LABlab(37.18, 48.77, -74.05)
CIE-LCHlch(37.18, 88.67, 303.37°)
OKLaboklab(47.93% 0.0325 -0.2137)
OKLCHoklch(47.93% 0.216 278.7)
XYZxyz(16.3322, 9.6336, 61.9591)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ED2 #C4D23E
analogous
#3E7AD2 #4C3ED2 #963ED2
triadic
#4C3ED2 #D24C3E #3ED24C
tetradic
#4C3ED2 #D23E7A #C4D23E #3ED296
square
#4C3ED2 #D23E7A #C4D23E #3ED296
split-complementary
#4C3ED2 #D2963E #7AD23E
monochromatic
#251C79 #3428AB #4C3ED2 #7A70DE #A8A1E9

Accessibility & contrast

On white

7.17
#4C3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4C3ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ED2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ED2#FFFFFF#000000##FFFFFF
##4C3ED21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c3ed2;
/* rgb */ color: rgb(76, 62, 210);
/* oklch */ color: oklch(47.9% 0.216 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e75e1',
    500: '#4c3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4c3ed2;
$custom-light: #8e75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3ed2",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 245.676,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.21616,
    "h": 278.7
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#4C3ED2
secondary
#D0D696
accent
#E543D6
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4C3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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