#4D3EAE#4D3EAE

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

Color values

HEX#4D3EAE
RGBrgb(77, 62, 174)
HSLhsl(248, 47%, 46%)
HSVhsv(248, 64%, 68%)
CMYKcmyk(55.7%, 64.4%, 0%, 31.8%)
CIE-LABlab(34.15, 37.59, -57.90)
CIE-LCHlch(34.15, 69.03, 302.99°)
OKLaboklab(44.81% 0.0389 -0.1663)
OKLCHoklch(44.81% 0.171 283.2)
XYZxyz(12.4208, 8.0783, 40.9410)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3EAE #9FAE3E
analogous
#3E67AE #4D3EAE #853EAE
triadic
#4D3EAE #AE4D3E #3EAE4D
tetradic
#4D3EAE #AE3E67 #9FAE3E #3EAE85
square
#4D3EAE #AE3E67 #9FAE3E #3EAE85
split-complementary
#4D3EAE #AE853E #67AE3E
monochromatic
#251E54 #392E81 #4D3EAE #7062C7 #998FD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D3EAE#FFFFFF#000000##FFFFFF
##4D3EAE1.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)
#0054B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#1F5A70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d3eae;
/* rgb */ color: rgb(77, 62, 174);
/* oklch */ color: oklch(44.8% 0.171 283.2);
Tailwind
colors: {
  custom: {
    50: '#8874c7',
    500: '#4d3eae',
    950: '#000000',
  },
}
SCSS
$custom: #4d3eae;
$custom-light: #8874c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3eae",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 248.036,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.1708,
    "h": 283.2
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#4D3EAE
secondary
#BAC286
accent
#D751C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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