#4C3ECA#4C3ECA

#4C3ECA is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.2% C 0.206 H 279.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4C3ECA
RGBrgb(76, 62, 202)
HSLhsl(246, 57%, 52%)
HSVhsv(246, 69%, 79%)
CMYKcmyk(62.4%, 69.3%, 0%, 20.8%)
CIE-LABlab(36.45, 46.26, -70.61)
CIE-LCHlch(36.45, 84.41, 303.24°)
OKLaboklab(47.19% 0.0339 -0.2036)
OKLCHoklch(47.19% 0.206 279.4)
XYZxyz(15.3604, 9.2448, 56.8406)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3ECA #BCCA3E
analogous
#3E76CA #4C3ECA #923ECA
triadic
#4C3ECA #CA4C3E #3ECA4C
tetradic
#4C3ECA #CA3E76 #BCCA3E #3ECA92
square
#4C3ECA #CA3E76 #BCCA3E #3ECA92
split-complementary
#4C3ECA #CA923E #76CA3E
monochromatic
#271F6F #372C9F #4C3ECA #796ED7 #A59EE4

Accessibility & contrast

On white

7.37
#4C3ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4C3ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3ECA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3ECA#FFFFFF#000000##FFFFFF
##4C3ECA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c3eca;
/* rgb */ color: rgb(76, 62, 202);
/* oklch */ color: oklch(47.2% 0.206 279.4);
Tailwind
colors: {
  custom: {
    50: '#8c75db',
    500: '#4c3eca',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eca;
$custom-light: #8c75db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eca",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 246,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47194,
    "c": 0.20642,
    "h": 279.4
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#4C3ECA
secondary
#CAD193
accent
#E048D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4C3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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