#4C3CAA#4C3CAA

#4C3CAA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.168 H 283.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4C3CAA
RGBrgb(76, 60, 170)
HSLhsl(249, 48%, 45%)
HSVhsv(249, 65%, 67%)
CMYKcmyk(55.3%, 64.7%, 0%, 33.3%)
CIE-LABlab(33.29, 37.34, -56.91)
CIE-LCHlch(33.29, 68.07, 303.27°)
OKLaboklab(44.07% 0.0398 -0.1635)
OKLCHoklch(44.07% 0.168 283.7)
XYZxyz(11.8498, 7.6698, 38.8784)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3CAA #9AAA3C
analogous
#3C63AA #4C3CAA #833CAA
triadic
#4C3CAA #AA4C3C #3CAA4C
tetradic
#4C3CAA #AA3C63 #9AAA3C #3CAA83
square
#4C3CAA #AA3C63 #9AAA3C #3CAA83
split-complementary
#4C3CAA #AA833C #63AA3C
monochromatic
#241C50 #382C7D #4C3CAA #6C5DC6 #958BD6

Accessibility & contrast

On white

8.29
#4C3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C3CAA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C3CAA#FFFFFF#000000##FFFFFF
##4C3CAA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#21576D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c3caa;
/* rgb */ color: rgb(76, 60, 170);
/* oklch */ color: oklch(44.1% 0.168 283.7);
Tailwind
colors: {
  custom: {
    50: '#8773c4',
    500: '#4c3caa',
    950: '#000000',
  },
}
SCSS
$custom: #4c3caa;
$custom-light: #8773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3caa",
  "rgb": {
    "r": 76,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 248.727,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44065,
    "c": 0.16826,
    "h": 283.7
  },
  "luminance": 0.0767
}

Semantic roles & 50–950 ramp

primary
#4C3CAA
secondary
#B7C081
accent
#D750C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4C3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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