#4D37B5#4D37B5

#4D37B5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.188 H 283.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4D37B5
RGBrgb(77, 55, 181)
HSLhsl(250, 53%, 46%)
HSVhsv(250, 70%, 71%)
CMYKcmyk(57.5%, 69.6%, 0%, 29%)
CIE-LABlab(33.23, 43.84, -63.55)
CIE-LCHlch(33.23, 77.20, 304.60°)
OKLaboklab(44.34% 0.0443 -0.1829)
OKLCHoklch(44.34% 0.188 283.6)
XYZxyz(12.7647, 7.6456, 44.5102)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37B5 #9FB537
analogous
#3760B5 #4D37B5 #8C37B5
triadic
#4D37B5 #B54D37 #37B54D
tetradic
#4D37B5 #B53760 #9FB537 #37B58C
square
#4D37B5 #B53760 #9FB537 #37B58C
split-complementary
#4D37B5 #B58C37 #60B537
monochromatic
#251A57 #392986 #4D37B5 #705CCD #998BDC

Accessibility & contrast

On white

8.30
#4D37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D37B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37B5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37B5#FFFFFF#000000##FFFFFF
##4D37B51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#155872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d37b5;
/* rgb */ color: rgb(77, 55, 181);
/* oklch */ color: oklch(44.3% 0.188 283.6);
Tailwind
colors: {
  custom: {
    50: '#8a70cc',
    500: '#4d37b5',
    950: '#000000',
  },
}
SCSS
$custom: #4d37b5;
$custom-light: #8a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37b5",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 250.476,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.18819,
    "h": 283.6
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#4D37B5
secondary
#BAC682
accent
#DD4BC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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