#4C3CBD#4C3CBD

#4C3CBD is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.7% C 0.193 H 281.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4C3CBD
RGBrgb(76, 60, 189)
HSLhsl(247, 52%, 49%)
HSVhsv(247, 68%, 74%)
CMYKcmyk(59.8%, 68.3%, 0%, 25.9%)
CIE-LABlab(34.89, 43.33, -65.57)
CIE-LCHlch(34.89, 78.59, 303.45°)
OKLaboklab(45.72% 0.0375 -0.1889)
OKLCHoklch(45.72% 0.193 281.2)
XYZxyz(13.7788, 8.4414, 49.0375)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CBD #ADBD3C
analogous
#3C6DBD #4C3CBD #8D3CBD
triadic
#4C3CBD #BD4C3C #3CBD4C
tetradic
#4C3CBD #BD3C6D #ADBD3C #3CBD8D
square
#4C3CBD #BD3C6D #ADBD3C #3CBD8D
split-complementary
#4C3CBD #BD8D3C #6DBD3C
monochromatic
#271F60 #392D8F #4C3CBD #7467CF #9F96DE

Accessibility & contrast

On white

7.81
#4C3CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4C3CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CBD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CBD#FFFFFF#000000##FFFFFF
##4C3CBD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c3cbd;
/* rgb */ color: rgb(76, 60, 189);
/* oklch */ color: oklch(45.7% 0.193 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a73d2',
    500: '#4c3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c3cbd;
$custom-light: #8a73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3cbd",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 247.442,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.19255,
    "h": 281.2
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#4C3CBD
secondary
#C1C98C
accent
#DB4DCA
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4C3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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