#4D3AB3#4D3AB3

#4D3AB3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.182 H 283.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4D3AB3
RGBrgb(77, 58, 179)
HSLhsl(249, 51%, 46%)
HSVhsv(249, 68%, 70%)
CMYKcmyk(57%, 67.6%, 0%, 29.8%)
CIE-LABlab(33.69, 41.51, -61.62)
CIE-LCHlch(33.69, 74.30, 303.97°)
OKLaboklab(44.61% 0.042 -0.1773)
OKLCHoklch(44.61% 0.182 283.3)
XYZxyz(12.7078, 7.8578, 43.4862)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3AB3 #A0B33A
analogous
#3A64B3 #4D3AB3 #8A3AB3
triadic
#4D3AB3 #B34D3A #3AB34D
tetradic
#4D3AB3 #B33A64 #A0B33A #3AB38A
square
#4D3AB3 #B33A64 #A0B33A #3AB38A
split-complementary
#4D3AB3 #B38A3A #64B33A
monochromatic
#251C57 #392B85 #4D3AB3 #705FCB #998DDA

Accessibility & contrast

On white

8.17
#4D3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D3AB3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3AB3#FFFFFF#000000##FFFFFF
##4D3AB31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#185971
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d3ab3;
/* rgb */ color: rgb(77, 58, 179);
/* oklch */ color: oklch(44.6% 0.182 283.3);
Tailwind
colors: {
  custom: {
    50: '#8972cb',
    500: '#4d3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ab3;
$custom-light: #8972cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ab3",
  "rgb": {
    "r": 77,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 249.421,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.18216,
    "h": 283.3
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#4D3AB3
secondary
#BBC584
accent
#DB4DC4
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4D3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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