#4D3ED3#4D3ED3

#4D3ED3 is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 48.1% C 0.217 H 278.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#4D3ED3
RGBrgb(77, 62, 211)
HSLhsl(246, 63%, 54%)
HSVhsv(246, 71%, 83%)
CMYKcmyk(63.5%, 70.6%, 0%, 17.3%)
CIE-LABlab(37.34, 49.20, -74.35)
CIE-LCHlch(37.34, 89.16, 303.50°)
OKLaboklab(48.1% 0.0337 -0.2145)
OKLCHoklch(48.1% 0.217 278.9)
XYZxyz(16.5373, 9.7249, 62.6210)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3ED3 #C4D33E
analogous
#3E79D3 #4D3ED3 #973ED3
triadic
#4D3ED3 #D34D3E #3ED34D
tetradic
#4D3ED3 #D33E79 #C4D33E #3ED397
square
#4D3ED3 #D33E79 #C4D33E #3ED397
split-complementary
#4D3ED3 #D3973E #79D33E
monochromatic
#251C7B #3527AC #4D3ED3 #7B70DE #A9A2EA

Accessibility & contrast

On white

7.13
#4D3ED3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4D3ED3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3ED3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3ED3#FFFFFF#000000##FFFFFF
##4D3ED31.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0052D0
Tritanopia (blue-blind)
#006784
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d3ed3;
/* rgb */ color: rgb(77, 62, 211);
/* oklch */ color: oklch(48.1% 0.217 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f75e2',
    500: '#4d3ed3',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ed3;
$custom-light: #8f75e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ed3",
  "rgb": {
    "r": 77,
    "g": 62,
    "b": 211
  },
  "hsl": {
    "h": 246.04,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.481,
    "c": 0.21718,
    "h": 278.9
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#4D3ED3
secondary
#D0D696
accent
#E642D5
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #4D3ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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