#4E37AB#4E37AB

#4E37AB is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.5% C 0.176 H 285.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4E37AB
RGBrgb(78, 55, 171)
HSLhsl(252, 51%, 44%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(54.4%, 67.8%, 0%, 32.9%)
CIE-LABlab(32.46, 40.94, -58.85)
CIE-LCHlch(32.46, 71.69, 304.83°)
OKLaboklab(43.54% 0.0473 -0.1691)
OKLCHoklch(43.54% 0.176 285.6)
XYZxyz(11.8566, 7.2917, 39.3029)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37AB #94AB37
analogous
#375AAB #4E37AB #8837AB
triadic
#4E37AB #AB4E37 #37AB4E
tetradic
#4E37AB #AB375A #94AB37 #37AB88
square
#4E37AB #AB375A #94AB37 #37AB88
split-complementary
#4E37AB #AB8837 #5AAB37
monochromatic
#24194E #39287D #4E37AB #6D56C9 #9585D8

Accessibility & contrast

On white

8.54
#4E37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37AB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37AB#FFFFFF#000000##FFFFFF
##4E37AB1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#27546C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e37ab;
/* rgb */ color: rgb(78, 55, 171);
/* oklch */ color: oklch(43.5% 0.176 285.6);
Tailwind
colors: {
  custom: {
    50: '#896fc5',
    500: '#4e37ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e37ab;
$custom-light: #896fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37ab",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 251.897,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.17557,
    "h": 285.6
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#4E37AB
secondary
#B4C17C
accent
#DB4DBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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