#4E37A9#4E37A9

#4E37A9 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.173 H 286.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4E37A9
RGBrgb(78, 55, 169)
HSLhsl(252, 51%, 44%)
HSVhsv(252, 67%, 66%)
CMYKcmyk(53.8%, 67.5%, 0%, 33.7%)
CIE-LABlab(32.29, 40.33, -57.92)
CIE-LCHlch(32.29, 70.58, 304.85°)
OKLaboklab(43.37% 0.0476 -0.1664)
OKLCHoklch(43.37% 0.173 286)
XYZxyz(11.6674, 7.2160, 38.3065)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37A9 #92A937
analogous
#3759A9 #4E37A9 #8737A9
triadic
#4E37A9 #A94E37 #37A94E
tetradic
#4E37A9 #A93759 #92A937 #37A987
square
#4E37A9 #A93759 #92A937 #37A987
split-complementary
#4E37A9 #A98737 #59A937
monochromatic
#23194D #39287B #4E37A9 #6C55C8 #9484D7

Accessibility & contrast

On white

8.59
#4E37A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E37A9
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37A9#FFFFFF#000000##FFFFFF
##4E37A91.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#29546B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e37a9;
/* rgb */ color: rgb(78, 55, 169);
/* oklch */ color: oklch(43.4% 0.173 286.0);
Tailwind
colors: {
  custom: {
    50: '#886fc3',
    500: '#4e37a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e37a9;
$custom-light: #886fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37a9",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 252.105,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.17303,
    "h": 286
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#4E37A9
secondary
#B3C07B
accent
#DA4DBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E37A9

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

Preview Lab → · Contrast checker → · Palette generator →

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