#4E37B5#4E37B5

#4E37B5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.188 H 284.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E37B5
RGBrgb(78, 55, 181)
HSLhsl(251, 53%, 46%)
HSVhsv(251, 70%, 71%)
CMYKcmyk(56.9%, 69.6%, 0%, 29%)
CIE-LABlab(33.32, 43.99, -63.40)
CIE-LCHlch(33.32, 77.17, 304.76°)
OKLaboklab(44.42% 0.0457 -0.1824)
OKLCHoklch(44.42% 0.188 284.1)
XYZxyz(12.8460, 7.6875, 44.5140)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B5 #9EB537
analogous
#375FB5 #4E37B5 #8D37B5
triadic
#4E37B5 #B54E37 #37B54E
tetradic
#4E37B5 #B5375F #9EB537 #37B58D
square
#4E37B5 #B5375F #9EB537 #37B58D
split-complementary
#4E37B5 #B58D37 #5FB537
monochromatic
#261A57 #3A2986 #4E37B5 #715CCD #9A8BDC

Accessibility & contrast

On white

8.28
#4E37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E37B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B5#FFFFFF#000000##FFFFFF
##4E37B51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#1A5872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e37b5;
/* rgb */ color: rgb(78, 55, 181);
/* oklch */ color: oklch(44.4% 0.188 284.1);
Tailwind
colors: {
  custom: {
    50: '#8a70cc',
    500: '#4e37b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b5;
$custom-light: #8a70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b5",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 250.952,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44424,
    "c": 0.18806,
    "h": 284.1
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#4E37B5
secondary
#BAC682
accent
#DD4BC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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