#4D37C6#4D37C6

#4D37C6 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.209 H 281.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#4D37C6
RGBrgb(77, 55, 198)
HSLhsl(249, 57%, 50%)
HSVhsv(249, 72%, 78%)
CMYKcmyk(61.1%, 72.2%, 0%, 22.4%)
CIE-LABlab(34.77, 49.02, -71.02)
CIE-LCHlch(34.77, 86.30, 304.61°)
OKLaboklab(45.91% 0.041 -0.2048)
OKLCHoklch(45.91% 0.209 281.3)
XYZxyz(14.6166, 8.3863, 54.2636)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37C6 #B0C637
analogous
#3768C6 #4D37C6 #9537C6
triadic
#4D37C6 #C64D37 #37C64D
tetradic
#4D37C6 #C63768 #B0C637 #37C695
square
#4D37C6 #C63768 #B0C637 #37C695
split-complementary
#4D37C6 #C69537 #68C637
monochromatic
#281C66 #3A2A96 #4D37C6 #7766D4 #A196E2

Accessibility & contrast

On white

7.84
#4D37C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4D37C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37C6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37C6#FFFFFF#000000##FFFFFF
##4D37C61.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4d37c6;
/* rgb */ color: rgb(77, 55, 198);
/* oklch */ color: oklch(45.9% 0.209 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d70d8',
    500: '#4d37c6',
    950: '#000000',
  },
}
SCSS
$custom: #4d37c6;
$custom-light: #8d70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37c6",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 249.231,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45907,
    "c": 0.20887,
    "h": 281.3
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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