#4D3ED2#4D3ED2

#4D3ED2 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.0% C 0.216 H 279.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED2
RGBrgb(77, 62, 210)
HSLhsl(246, 62%, 53%)
HSVhsv(246, 70%, 82%)
CMYKcmyk(63.3%, 70.5%, 0%, 17.6%)
CIE-LABlab(37.25, 48.89, -73.92)
CIE-LCHlch(37.25, 88.63, 303.48°)
OKLaboklab(48.01% 0.0338 -0.2133)
OKLCHoklch(48.01% 0.216 279)
XYZxyz(16.4123, 9.6749, 61.9628)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED2 #C3D23E
analogous
#3E79D2 #4D3ED2 #973ED2
triadic
#4D3ED2 #D24D3E #3ED24D
tetradic
#4D3ED2 #D23E79 #C3D23E #3ED297
square
#4D3ED2 #D23E79 #C3D23E #3ED297
split-complementary
#4D3ED2 #D2973E #79D23E
monochromatic
#261C79 #3528AB #4D3ED2 #7B70DE #A9A1E9

Accessibility & contrast

On white

7.15
#4D3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4D3ED2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED2#FFFFFF#000000##FFFFFF
##4D3ED21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#0052CF
Tritanopia (blue-blind)
#006684
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d3ed2;
/* rgb */ color: rgb(77, 62, 210);
/* oklch */ color: oklch(48.0% 0.216 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e75e1',
    500: '#4d3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed2;
$custom-light: #8e75e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed2",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 246.081,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.21597,
    "h": 279
  },
  "luminance": 0.09676
}

Semantic roles & 50–950 ramp

primary
#4D3ED2
secondary
#CFD696
accent
#E543D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4D3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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