#4E37A6#4E37A6

#4E37A6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.1% C 0.169 H 286.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4E37A6
RGBrgb(78, 55, 166)
HSLhsl(252, 50%, 43%)
HSVhsv(252, 67%, 65%)
CMYKcmyk(53%, 66.9%, 0%, 34.9%)
CIE-LABlab(32.04, 39.41, -56.53)
CIE-LCHlch(32.04, 68.91, 304.89°)
OKLaboklab(43.11% 0.048 -0.1623)
OKLCHoklch(43.11% 0.169 286.5)
XYZxyz(11.3890, 7.1047, 36.8402)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37A6 #8FA637
analogous
#3758A6 #4E37A6 #8537A6
triadic
#4E37A6 #A64E37 #37A64E
tetradic
#4E37A6 #A63758 #8FA637 #37A685
square
#4E37A6 #A63758 #8FA637 #37A685
split-complementary
#4E37A6 #A68537 #58A637
monochromatic
#23194A #382878 #4E37A6 #6C54C6 #9382D6

Accessibility & contrast

On white

8.67
#4E37A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E37A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37A6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37A6#FFFFFF#000000##FFFFFF
##4E37A61.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#2B5369
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e37a6;
/* rgb */ color: rgb(78, 55, 166);
/* oklch */ color: oklch(43.1% 0.169 286.5);
Tailwind
colors: {
  custom: {
    50: '#886fc1',
    500: '#4e37a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e37a6;
$custom-light: #886fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37a6",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 252.432,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.16922,
    "h": 286.5
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37A6

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

Preview Lab → · Contrast checker → · Palette generator →

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