#4D37AE#4D37AE

#4D37AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.179 H 284.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4D37AE
RGBrgb(77, 55, 174)
HSLhsl(251, 52%, 45%)
HSVhsv(251, 68%, 68%)
CMYKcmyk(55.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(32.62, 41.69, -60.38)
CIE-LCHlch(32.62, 73.37, 304.63°)
OKLaboklab(43.71% 0.0454 -0.1736)
OKLCHoklch(43.71% 0.179 284.7)
XYZxyz(12.0644, 7.3654, 40.8221)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D37AE #98AE37
analogous
#375DAE #4D37AE #8837AE
triadic
#4D37AE #AE4D37 #37AE4D
tetradic
#4D37AE #AE375D #98AE37 #37AE88
square
#4D37AE #AE375D #98AE37 #37AE88
split-complementary
#4D37AE #AE8837 #5DAE37
monochromatic
#241A51 #38287F #4D37AE #6D58CA #9686D9

Accessibility & contrast

On white

8.49
#4D37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4D37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D37AE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D37AE#FFFFFF#000000##FFFFFF
##4D37AE1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#20566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d37ae;
/* rgb */ color: rgb(77, 55, 174);
/* oklch */ color: oklch(43.7% 0.179 284.7);
Tailwind
colors: {
  custom: {
    50: '#8970c7',
    500: '#4d37ae',
    950: '#000000',
  },
}
SCSS
$custom: #4d37ae;
$custom-light: #8970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d37ae",
  "rgb": {
    "r": 77,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 251.092,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.17945,
    "h": 284.7
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#4D37AE
secondary
#B6C37E
accent
#DB4CC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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