#4D37BB#4D37BB

#4D37BB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.196 H 282.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4D37BB
RGBrgb(77, 55, 187)
HSLhsl(250, 55%, 47%)
HSVhsv(250, 71%, 73%)
CMYKcmyk(58.8%, 70.6%, 0%, 26.7%)
CIE-LABlab(33.77, 45.67, -66.22)
CIE-LCHlch(33.77, 80.44, 304.59°)
OKLaboklab(44.88% 0.0432 -0.1907)
OKLCHoklch(44.88% 0.196 282.8)
XYZxyz(13.3936, 7.8971, 47.8226)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37BB #A5BB37
analogous
#3763BB #4D37BB #8F37BB
triadic
#4D37BB #BB4D37 #37BB4D
tetradic
#4D37BB #BB3763 #A5BB37 #37BB8F
square
#4D37BB #BB3763 #A5BB37 #37BB8F
split-complementary
#4D37BB #BB8F37 #63BB37
monochromatic
#261B5C #3A298C #4D37BB #725FD0 #9C8EDE

Accessibility & contrast

On white

8.14
#4D37BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D37BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37BB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37BB#FFFFFF#000000##FFFFFF
##4D37BB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#055A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d37bb;
/* rgb */ color: rgb(77, 55, 187);
/* oklch */ color: oklch(44.9% 0.196 282.8);
Tailwind
colors: {
  custom: {
    50: '#8b70d1',
    500: '#4d37bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d37bb;
$custom-light: #8b70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37bb",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 250,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.19557,
    "h": 282.8
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#4D37BB
secondary
#BDC985
accent
#DE4AC5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4D37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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