#4D37C7#4D37C7

#4D37C7 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.210 H 281.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4D37C7
RGBrgb(77, 55, 199)
HSLhsl(249, 57%, 50%)
HSVhsv(249, 72%, 78%)
CMYKcmyk(61.3%, 72.4%, 0%, 22%)
CIE-LABlab(34.87, 49.33, -71.45)
CIE-LCHlch(34.87, 86.83, 304.62°)
OKLaboklab(46% 0.0408 -0.2061)
OKLCHoklch(46% 0.21 281.2)
XYZxyz(14.7323, 8.4326, 54.8731)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37C7 #B1C737
analogous
#3769C7 #4D37C7 #9537C7
triadic
#4D37C7 #C74D37 #37C74D
tetradic
#4D37C7 #C73769 #B1C737 #37C795
square
#4D37C7 #C73769 #B1C737 #37C795
split-complementary
#4D37C7 #C79537 #69C737
monochromatic
#281C67 #3A2A97 #4D37C7 #7766D5 #A296E2

Accessibility & contrast

On white

7.82
#4D37C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4D37C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37C7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37C7#FFFFFF#000000##FFFFFF
##4D37C71.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d37c7;
/* rgb */ color: rgb(77, 55, 199);
/* oklch */ color: oklch(46.0% 0.210 281.2);
Tailwind
colors: {
  custom: {
    50: '#8d70d9',
    500: '#4d37c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d37c7;
$custom-light: #8d70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37c7",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 249.167,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.21006,
    "h": 281.2
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#4D37C7
secondary
#C4CD8C
accent
#E048C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4D37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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