#4E37B8#4E37B8

#4E37B8 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.192 H 283.6°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E37B8
RGBrgb(78, 55, 184)
HSLhsl(251, 54%, 47%)
HSVhsv(251, 70%, 72%)
CMYKcmyk(57.6%, 70.1%, 0%, 27.8%)
CIE-LABlab(33.59, 44.91, -64.74)
CIE-LCHlch(33.59, 78.79, 304.75°)
OKLaboklab(44.69% 0.0451 -0.1864)
OKLCHoklch(44.69% 0.192 283.6)
XYZxyz(13.1571, 7.8119, 46.1527)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B8 #A1B837
analogous
#3760B8 #4E37B8 #8F37B8
triadic
#4E37B8 #B84E37 #37B84E
tetradic
#4E37B8 #B83760 #A1B837 #37B88F
square
#4E37B8 #B83760 #A1B837 #37B88F
split-complementary
#4E37B8 #B88F37 #60B837
monochromatic
#261B5A #3A2989 #4E37B8 #725DCF #9B8DDD

Accessibility & contrast

On white

8.19
#4E37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B8
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B8#FFFFFF#000000##FFFFFF
##4E37B81.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#145973
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e37b8;
/* rgb */ color: rgb(78, 55, 184);
/* oklch */ color: oklch(44.7% 0.192 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b70ce',
    500: '#4e37b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b8;
$custom-light: #8b70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b8",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 250.698,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.19175,
    "h": 283.6
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#4E37B8
secondary
#BBC784
accent
#DD4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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