#4C3AAA#4C3AAA

#4C3AAA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.171 H 284.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#4C3AAA
RGBrgb(76, 58, 170)
HSLhsl(250, 49%, 45%)
HSVhsv(250, 66%, 67%)
CMYKcmyk(55.3%, 65.9%, 0%, 33.3%)
CIE-LABlab(32.84, 38.54, -57.64)
CIE-LCHlch(32.84, 69.33, 303.77°)
OKLaboklab(43.74% 0.0418 -0.1656)
OKLCHoklch(43.74% 0.171 284.2)
XYZxyz(11.7470, 7.4642, 38.8442)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3AAA #98AA3A
analogous
#3A60AA #4C3AAA #843AAA
triadic
#4C3AAA #AA4C3A #3AAA4C
tetradic
#4C3AAA #AA3A60 #98AA3A #3AAA84
square
#4C3AAA #AA3A60 #98AA3A #3AAA84
split-complementary
#4C3AAA #AA843A #60AA3A
monochromatic
#231B4F #382A7C #4C3AAA #6C5AC7 #9588D6

Accessibility & contrast

On white

8.42
#4C3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4C3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3AAA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3AAA#FFFFFF#000000##FFFFFF
##4C3AAA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#22566D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c3aaa;
/* rgb */ color: rgb(76, 58, 170);
/* oklch */ color: oklch(43.7% 0.171 284.2);
Tailwind
colors: {
  custom: {
    50: '#8771c4',
    500: '#4c3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4c3aaa;
$custom-light: #8771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3aaa",
  "rgb": {
    "r": 76,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 249.643,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43743,
    "c": 0.17079,
    "h": 284.2
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#4C3AAA
secondary
#B6C17F
accent
#D94FC3
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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