#4D3CAC#4D3CAC

#4D3CAC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.171 H 283.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4D3CAC
RGBrgb(77, 60, 172)
HSLhsl(249, 48%, 45%)
HSVhsv(249, 65%, 67%)
CMYKcmyk(55.2%, 65.1%, 0%, 32.5%)
CIE-LABlab(33.54, 38.15, -57.70)
CIE-LCHlch(33.54, 69.17, 303.48°)
OKLaboklab(44.32% 0.041 -0.1657)
OKLCHoklch(44.32% 0.171 283.9)
XYZxyz(12.1206, 7.7873, 39.8862)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CAC #9BAC3C
analogous
#3C63AC #4D3CAC #853CAC
triadic
#4D3CAC #AC4D3C #3CAC4D
tetradic
#4D3CAC #AC3C63 #9BAC3C #3CAC85
square
#4D3CAC #AC3C63 #9BAC3C #3CAC85
split-complementary
#4D3CAC #AC853C #63AC3C
monochromatic
#241C51 #392C7F #4D3CAC #6E5EC7 #978CD7

Accessibility & contrast

On white

8.21
#4D3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CAC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CAC#FFFFFF#000000##FFFFFF
##4D3CAC1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#22586E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3cac;
/* rgb */ color: rgb(77, 60, 172);
/* oklch */ color: oklch(44.3% 0.171 283.9);
Tailwind
colors: {
  custom: {
    50: '#8873c6',
    500: '#4d3cac',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cac;
$custom-light: #8873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cac",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 249.107,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44319,
    "c": 0.17074,
    "h": 283.9
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#4D3CAC
secondary
#B8C182
accent
#D850C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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