#4D49E6#4D49E6

#4D49E6 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.229 H 275.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D49E6
RGBrgb(77, 73, 230)
HSLhsl(242, 76%, 59%)
HSVhsv(242, 68%, 90%)
CMYKcmyk(66.5%, 68.3%, 0%, 9.8%)
CIE-LABlab(41.30, 49.02, -78.72)
CIE-LCHlch(41.30, 92.73, 301.91°)
OKLaboklab(51.46% 0.0234 -0.2273)
OKLCHoklch(51.46% 0.229 275.9)
XYZxyz(19.7214, 12.0543, 76.1350)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D49E6 #E2E649
analogous
#4993E6 #4D49E6 #9C49E6
triadic
#4D49E6 #E64D49 #49E64D
tetradic
#4D49E6 #E64993 #E2E649 #49E69C
square
#4D49E6 #E64993 #E2E649 #49E69C
split-complementary
#4D49E6 #E69C49 #93E649
monochromatic
#19169F #221DD5 #4D49E6 #827FED #B6B5F5

Accessibility & contrast

On white

6.16
#4D49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D49E6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D49E6#FFFFFF#000000##FFFFFF
##4D49E61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005AE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d49e6;
/* rgb */ color: rgb(77, 73, 230);
/* oklch */ color: oklch(51.5% 0.229 275.9);
Tailwind
colors: {
  custom: {
    50: '#917def',
    500: '#4d49e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d49e6;
$custom-light: #917def;
$custom-dark: #000000;
JSON
{
  "hex": "#4d49e6",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 241.529,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.22855,
    "h": 275.9
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#4D49E6
secondary
#E2E4A7
accent
#F235EE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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