#4C3EAF#4C3EAF

#4C3EAF is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.172 H 282.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4C3EAF
RGBrgb(76, 62, 175)
HSLhsl(247, 48%, 46%)
HSVhsv(247, 65%, 69%)
CMYKcmyk(56.6%, 64.6%, 0%, 31.4%)
CIE-LABlab(34.14, 37.73, -58.50)
CIE-LCHlch(34.14, 69.61, 302.82°)
OKLaboklab(44.81% 0.0374 -0.1681)
OKLCHoklch(44.81% 0.172 282.6)
XYZxyz(12.4386, 8.0761, 41.4525)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3EAF #A1AF3E
analogous
#3E69AF #4C3EAF #853EAF
triadic
#4C3EAF #AF4C3E #3EAF4C
tetradic
#4C3EAF #AF3E69 #A1AF3E #3EAF85
square
#4C3EAF #AF3E69 #A1AF3E #3EAF85
split-complementary
#4C3EAF #AF853E #69AF3E
monochromatic
#251E55 #382E82 #4C3EAF #6F63C8 #9990D8

Accessibility & contrast

On white

8.03
#4C3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4C3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3EAF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3EAF#FFFFFF#000000##FFFFFF
##4C3EAF1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#1A5A71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c3eaf;
/* rgb */ color: rgb(76, 62, 175);
/* oklch */ color: oklch(44.8% 0.172 282.6);
Tailwind
colors: {
  custom: {
    50: '#8874c8',
    500: '#4c3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4c3eaf;
$custom-light: #8874c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3eaf",
  "rgb": {
    "r": 76,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 247.434,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.17225,
    "h": 282.6
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#4C3EAF
secondary
#BBC386
accent
#D751C7
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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