#4D3ED6#4D3ED6

#4D3ED6 is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.4% C 0.221 H 278.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED6
RGBrgb(77, 62, 214)
HSLhsl(246, 65%, 54%)
HSVhsv(246, 71%, 84%)
CMYKcmyk(64%, 71%, 0%, 16.1%)
CIE-LABlab(37.62, 50.13, -75.62)
CIE-LCHlch(37.62, 90.73, 303.54°)
OKLaboklab(48.38% 0.0331 -0.2183)
OKLCHoklch(48.38% 0.221 278.6)
XYZxyz(16.9169, 9.8767, 64.6202)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED6 #C7D63E
analogous
#3E7BD6 #4D3ED6 #993ED6
triadic
#4D3ED6 #D64D3E #3ED64D
tetradic
#4D3ED6 #D63E7B #C7D63E #3ED699
square
#4D3ED6 #D63E7B #C7D63E #3ED699
split-complementary
#4D3ED6 #D6993E #7BD63E
monochromatic
#251B7F #3326B1 #4D3ED6 #7C70E1 #AAA3EB

Accessibility & contrast

On white

7.06
#4D3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4D3ED6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED6
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED6#FFFFFF#000000##FFFFFF
##4D3ED61.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDB
Deuteranopia (green-blind)
#0052D3
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d3ed6;
/* rgb */ color: rgb(77, 62, 214);
/* oklch */ color: oklch(48.4% 0.221 278.6);
Tailwind
colors: {
  custom: {
    50: '#8f75e4',
    500: '#4d3ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed6;
$custom-light: #8f75e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed6",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 214
  },
  "hsl": {
    "h": 245.921,
    "s": 64.957,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.22078,
    "h": 278.6
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#4D3ED6
secondary
#D2D898
accent
#E840D7
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4D3ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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