#4E37BD#4E37BD

#4E37BD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.198 H 282.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E37BD
RGBrgb(78, 55, 189)
HSLhsl(250, 55%, 48%)
HSVhsv(250, 71%, 74%)
CMYKcmyk(58.7%, 70.9%, 0%, 25.9%)
CIE-LABlab(34.04, 46.43, -66.96)
CIE-LCHlch(34.04, 81.48, 304.74°)
OKLaboklab(45.15% 0.0442 -0.1929)
OKLCHoklch(45.15% 0.198 282.9)
XYZxyz(13.6905, 8.0253, 48.9619)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37BD #A6BD37
analogous
#3763BD #4E37BD #9137BD
triadic
#4E37BD #BD4E37 #37BD4E
tetradic
#4E37BD #BD3763 #A6BD37 #37BD91
square
#4E37BD #BD3763 #A6BD37 #37BD91
split-complementary
#4E37BD #BD9137 #63BD37
monochromatic
#271B5E #3A298E #4E37BD #7460D1 #9D90DF

Accessibility & contrast

On white

8.06
#4E37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37BD
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37BD#FFFFFF#000000##FFFFFF
##4E37BD1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#065B76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e37bd;
/* rgb */ color: rgb(78, 55, 189);
/* oklch */ color: oklch(45.2% 0.198 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c70d2',
    500: '#4e37bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e37bd;
$custom-light: #8c70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37bd",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 250.299,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.19786,
    "h": 282.9
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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