#4E37B7#4E37B7

#4E37B7 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.191 H 283.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4E37B7
RGBrgb(78, 55, 183)
HSLhsl(251, 54%, 47%)
HSVhsv(251, 70%, 72%)
CMYKcmyk(57.4%, 69.9%, 0%, 28.2%)
CIE-LABlab(33.50, 44.60, -64.29)
CIE-LCHlch(33.50, 78.25, 304.75°)
OKLaboklab(44.6% 0.0453 -0.1851)
OKLCHoklch(44.6% 0.191 283.8)
XYZxyz(13.0527, 7.7702, 45.6026)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B7 #A0B737
analogous
#3760B7 #4E37B7 #8E37B7
triadic
#4E37B7 #B74E37 #37B74E
tetradic
#4E37B7 #B73760 #A0B737 #37B78E
square
#4E37B7 #B73760 #A0B737 #37B78E
split-complementary
#4E37B7 #B78E37 #60B737
monochromatic
#261B59 #3A2988 #4E37B7 #715DCE #9A8CDC

Accessibility & contrast

On white

8.22
#4E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E37B7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B7#FFFFFF#000000##FFFFFF
##4E37B71.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#165973
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e37b7;
/* rgb */ color: rgb(78, 55, 183);
/* oklch */ color: oklch(44.6% 0.191 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b70ce',
    500: '#4e37b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b7;
$custom-light: #8b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b7",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 250.781,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44604,
    "c": 0.19052,
    "h": 283.8
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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