#4E37A8#4E37A8

#4E37A8 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.172 H 286.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4E37A8
RGBrgb(78, 55, 168)
HSLhsl(252, 51%, 44%)
HSVhsv(252, 67%, 66%)
CMYKcmyk(53.6%, 67.3%, 0%, 34.1%)
CIE-LABlab(32.21, 40.03, -57.46)
CIE-LCHlch(32.21, 70.03, 304.86°)
OKLaboklab(43.28% 0.0477 -0.165)
OKLCHoklch(43.28% 0.172 286.1)
XYZxyz(11.5738, 7.1786, 37.8140)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37A8 #91A837
analogous
#3758A8 #4E37A8 #8637A8
triadic
#4E37A8 #A84E37 #37A84E
tetradic
#4E37A8 #A83758 #91A837 #37A886
square
#4E37A8 #A83758 #91A837 #37A886
split-complementary
#4E37A8 #A88637 #58A837
monochromatic
#23194C #39287A #4E37A8 #6C55C7 #9483D6

Accessibility & contrast

On white

8.62
#4E37A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4E37A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37A8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37A8#FFFFFF#000000##FFFFFF
##4E37A81.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#2A536B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e37a8;
/* rgb */ color: rgb(78, 55, 168);
/* oklch */ color: oklch(43.3% 0.172 286.1);
Tailwind
colors: {
  custom: {
    50: '#886fc3',
    500: '#4e37a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e37a8;
$custom-light: #886fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37a8",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 252.212,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.17176,
    "h": 286.1
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#4E37A8
secondary
#B2C07B
accent
#DA4EBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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