#4E37AE#4E37AE

#4E37AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.179 H 285.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4E37AE
RGBrgb(78, 55, 174)
HSLhsl(252, 52%, 45%)
HSVhsv(252, 68%, 68%)
CMYKcmyk(55.2%, 68.4%, 0%, 31.8%)
CIE-LABlab(32.72, 41.86, -60.22)
CIE-LCHlch(32.72, 73.34, 304.80°)
OKLaboklab(43.8% 0.0468 -0.1731)
OKLCHoklch(43.8% 0.179 285.1)
XYZxyz(12.1457, 7.4074, 40.8260)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37AE #97AE37
analogous
#375BAE #4E37AE #8A37AE
triadic
#4E37AE #AE4E37 #37AE4E
tetradic
#4E37AE #AE375B #97AE37 #37AE8A
square
#4E37AE #AE375B #97AE37 #37AE8A
split-complementary
#4E37AE #AE8A37 #5BAE37
monochromatic
#241A51 #39287F #4E37AE #6E58CA #9686D9

Accessibility & contrast

On white

8.46
#4E37AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E37AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37AE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37AE#FFFFFF#000000##FFFFFF
##4E37AE1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#23566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e37ae;
/* rgb */ color: rgb(78, 55, 174);
/* oklch */ color: oklch(43.8% 0.179 285.1);
Tailwind
colors: {
  custom: {
    50: '#8970c7',
    500: '#4e37ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e37ae;
$custom-light: #8970c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37ae",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 251.597,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.17935,
    "h": 285.1
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#4E37AE
secondary
#B6C37E
accent
#DB4CC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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