#4D3CAE#4D3CAE

#4D3CAE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.173 H 283.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4D3CAE
RGBrgb(77, 60, 174)
HSLhsl(249, 49%, 46%)
HSVhsv(249, 66%, 68%)
CMYKcmyk(55.7%, 65.5%, 0%, 31.8%)
CIE-LABlab(33.70, 38.78, -58.62)
CIE-LCHlch(33.70, 70.29, 303.48°)
OKLaboklab(44.49% 0.0408 -0.1685)
OKLCHoklch(44.49% 0.173 283.6)
XYZxyz(12.3141, 7.8648, 40.9054)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CAE #9DAE3C
analogous
#3C64AE #4D3CAE #863CAE
triadic
#4D3CAE #AE4D3C #3CAE4D
tetradic
#4D3CAE #AE3C64 #9DAE3C #3CAE86
square
#4D3CAE #AE3C64 #9DAE3C #3CAE86
split-complementary
#4D3CAE #AE863C #64AE3C
monochromatic
#251D53 #392C80 #4D3CAE #6F5FC8 #988DD8

Accessibility & contrast

On white

8.16
#4D3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D3CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CAE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CAE#FFFFFF#000000##FFFFFF
##4D3CAE1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#1F586F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3cae;
/* rgb */ color: rgb(77, 60, 174);
/* oklch */ color: oklch(44.5% 0.173 283.6);
Tailwind
colors: {
  custom: {
    50: '#8873c7',
    500: '#4d3cae',
    950: '#000000',
  },
}
SCSS
$custom: #4d3cae;
$custom-light: #8873c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3cae",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 248.947,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.17333,
    "h": 283.6
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#4D3CAE
secondary
#B9C283
accent
#D850C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4D3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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