#4E37A7#4E37A7

#4E37A7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.171 H 286.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4E37A7
RGBrgb(78, 55, 167)
HSLhsl(252, 50%, 44%)
HSVhsv(252, 67%, 65%)
CMYKcmyk(53.3%, 67.1%, 0%, 34.5%)
CIE-LABlab(32.13, 39.72, -57.00)
CIE-LCHlch(32.13, 69.47, 304.87°)
OKLaboklab(43.19% 0.0478 -0.1636)
OKLCHoklch(43.19% 0.171 286.3)
XYZxyz(11.4810, 7.1415, 37.3252)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37A7 #90A737
analogous
#3758A7 #4E37A7 #8637A7
triadic
#4E37A7 #A74E37 #37A74E
tetradic
#4E37A7 #A73758 #90A737 #37A786
square
#4E37A7 #A73758 #90A737 #37A786
split-complementary
#4E37A7 #A78637 #58A737
monochromatic
#23194B #382879 #4E37A7 #6C54C7 #9482D6

Accessibility & contrast

On white

8.65
#4E37A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E37A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37A7
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37A7#FFFFFF#000000##FFFFFF
##4E37A71.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#2A536A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e37a7;
/* rgb */ color: rgb(78, 55, 167);
/* oklch */ color: oklch(43.2% 0.171 286.3);
Tailwind
colors: {
  custom: {
    50: '#886fc2',
    500: '#4e37a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e37a7;
$custom-light: #886fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37a7",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 252.321,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.1705,
    "h": 286.3
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#4E37A7
secondary
#B1C07A
accent
#DA4EBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E37A7

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

Preview Lab → · Contrast checker → · Palette generator →

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