#4E37AC#4E37AC

#4E37AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.177 H 285.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4E37AC
RGBrgb(78, 55, 172)
HSLhsl(252, 52%, 45%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(54.7%, 68%, 0%, 32.5%)
CIE-LABlab(32.55, 41.25, -59.31)
CIE-LCHlch(32.55, 72.24, 304.82°)
OKLaboklab(43.63% 0.0471 -0.1704)
OKLCHoklch(43.63% 0.177 285.5)
XYZxyz(11.9522, 7.3300, 39.8068)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37AC #95AC37
analogous
#375BAC #4E37AC #8937AC
triadic
#4E37AC #AC4E37 #37AC4E
tetradic
#4E37AC #AC375B #95AC37 #37AC89
square
#4E37AC #AC375B #95AC37 #37AC89
split-complementary
#4E37AC #AC8937 #5BAC37
monochromatic
#24194F #39287E #4E37AC #6D57C9 #9685D8

Accessibility & contrast

On white

8.52
#4E37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37AC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37AC#FFFFFF#000000##FFFFFF
##4E37AC1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#26556D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e37ac;
/* rgb */ color: rgb(78, 55, 172);
/* oklch */ color: oklch(43.6% 0.177 285.5);
Tailwind
colors: {
  custom: {
    50: '#8970c6',
    500: '#4e37ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e37ac;
$custom-light: #8970c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37ac",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 251.795,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.17683,
    "h": 285.5
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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