#4D37B3#4D37B3

#4D37B3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.186 H 283.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4D37B3
RGBrgb(77, 55, 179)
HSLhsl(251, 53%, 46%)
HSVhsv(251, 69%, 70%)
CMYKcmyk(57%, 69.3%, 0%, 29.8%)
CIE-LABlab(33.06, 43.22, -62.65)
CIE-LCHlch(33.06, 76.11, 304.60°)
OKLaboklab(44.16% 0.0446 -0.1803)
OKLCHoklch(44.16% 0.186 283.9)
XYZxyz(12.5609, 7.5641, 43.4372)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37B3 #9DB337
analogous
#375FB3 #4D37B3 #8B37B3
triadic
#4D37B3 #B34D37 #37B34D
tetradic
#4D37B3 #B3375F #9DB337 #37B38B
square
#4D37B3 #B3375F #9DB337 #37B38B
split-complementary
#4D37B3 #B38B37 #5FB337
monochromatic
#251A55 #392984 #4D37B3 #6F5BCD #988ADB

Accessibility & contrast

On white

8.36
#4D37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4D37B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37B3
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37B3#FFFFFF#000000##FFFFFF
##4D37B31.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#195771
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d37b3;
/* rgb */ color: rgb(77, 55, 179);
/* oklch */ color: oklch(44.2% 0.186 283.9);
Tailwind
colors: {
  custom: {
    50: '#8970cb',
    500: '#4d37b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d37b3;
$custom-light: #8970cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37b3",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 250.645,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.18571,
    "h": 283.9
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#4D37B3
secondary
#B9C581
accent
#DC4BC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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