#4E37B6#4E37B6

#4E37B6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.189 H 283.9°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E37B6
RGBrgb(78, 55, 182)
HSLhsl(251, 54%, 46%)
HSVhsv(251, 70%, 71%)
CMYKcmyk(57.1%, 69.8%, 0%, 28.6%)
CIE-LABlab(33.41, 44.30, -63.85)
CIE-LCHlch(33.41, 77.71, 304.75°)
OKLaboklab(44.51% 0.0455 -0.1837)
OKLCHoklch(44.51% 0.189 283.9)
XYZxyz(12.9490, 7.7287, 45.0563)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B6 #9FB637
analogous
#3760B6 #4E37B6 #8E37B6
triadic
#4E37B6 #B64E37 #37B64E
tetradic
#4E37B6 #B63760 #9FB637 #37B68E
square
#4E37B6 #B63760 #9FB637 #37B68E
split-complementary
#4E37B6 #B68E37 #60B637
monochromatic
#261B58 #3A2987 #4E37B6 #715CCE #9A8BDC

Accessibility & contrast

On white

8.25
#4E37B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E37B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B6
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B6#FFFFFF#000000##FFFFFF
##4E37B61.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#185872
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e37b6;
/* rgb */ color: rgb(78, 55, 182);
/* oklch */ color: oklch(44.5% 0.189 283.9);
Tailwind
colors: {
  custom: {
    50: '#8a70cd',
    500: '#4e37b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b6;
$custom-light: #8a70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b6",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 250.866,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.18929,
    "h": 283.9
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37B6

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

Preview Lab → · Contrast checker → · Palette generator →

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