#4D3CA6#4D3CA6

#4D3CA6 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.163 H 284.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4D3CA6
RGBrgb(77, 60, 166)
HSLhsl(250, 47%, 44%)
HSVhsv(250, 64%, 65%)
CMYKcmyk(53.6%, 63.9%, 0%, 34.9%)
CIE-LABlab(33.05, 36.27, -54.89)
CIE-LCHlch(33.05, 65.79, 303.46°)
OKLaboklab(43.82% 0.0416 -0.1575)
OKLCHoklch(43.82% 0.163 284.8)
XYZxyz(11.5573, 7.5620, 36.9196)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CA6 #95A63C
analogous
#3C60A6 #4D3CA6 #823CA6
triadic
#4D3CA6 #A64D3C #3CA64D
tetradic
#4D3CA6 #A63C60 #95A63C #3CA682
square
#4D3CA6 #A63C60 #95A63C #3CA682
split-complementary
#4D3CA6 #A6823C #60A63C
monochromatic
#231C4C #382C79 #4D3CA6 #6C5BC4 #9488D4

Accessibility & contrast

On white

8.36
#4D3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D3CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CA6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CA6#FFFFFF#000000##FFFFFF
##4D3CA61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#28566B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d3ca6;
/* rgb */ color: rgb(77, 60, 166);
/* oklch */ color: oklch(43.8% 0.163 284.8);
Tailwind
colors: {
  custom: {
    50: '#8773c1',
    500: '#4d3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ca6;
$custom-light: #8773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ca6",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 249.623,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.16289,
    "h": 284.8
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#4D3CA6
secondary
#B4BE7F
accent
#D751C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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