#4D37C5#4D37C5

#4D37C5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.208 H 281.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4D37C5
RGBrgb(77, 55, 197)
HSLhsl(249, 56%, 49%)
HSVhsv(249, 72%, 77%)
CMYKcmyk(60.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(34.68, 48.72, -70.59)
CIE-LCHlch(34.68, 85.77, 304.61°)
OKLaboklab(45.81% 0.0412 -0.2035)
OKLCHoklch(45.81% 0.208 281.5)
XYZxyz(14.5016, 8.3403, 53.6582)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37C5 #AFC537
analogous
#3768C5 #4D37C5 #9437C5
triadic
#4D37C5 #C54D37 #37C54D
tetradic
#4D37C5 #C53768 #AFC537 #37C594
square
#4D37C5 #C53768 #AFC537 #37C594
split-complementary
#4D37C5 #C59437 #68C537
monochromatic
#281C65 #3A2A95 #4D37C5 #7665D4 #A195E1

Accessibility & contrast

On white

7.87
#4D37C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4D37C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37C5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37C5#FFFFFF#000000##FFFFFF
##4D37C51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d37c5;
/* rgb */ color: rgb(77, 55, 197);
/* oklch */ color: oklch(45.8% 0.208 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d70d8',
    500: '#4d37c5',
    950: '#000000',
  },
}
SCSS
$custom: #4d37c5;
$custom-light: #8d70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37c5",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 249.296,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.20766,
    "h": 281.5
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#4D37C5
secondary
#C3CD8B
accent
#E048C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4D37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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