#4E37A3#4E37A3

#4E37A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.165 H 287.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#4E37A3
RGBrgb(78, 55, 163)
HSLhsl(253, 50%, 43%)
HSVhsv(253, 66%, 64%)
CMYKcmyk(52.1%, 66.3%, 0%, 36.1%)
CIE-LABlab(31.80, 38.50, -55.12)
CIE-LCHlch(31.80, 67.24, 304.93°)
OKLaboklab(42.85% 0.0483 -0.1582)
OKLCHoklch(42.85% 0.165 287)
XYZxyz(11.1170, 6.9959, 35.4078)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37A3 #8CA337
analogous
#3756A3 #4E37A3 #8437A3
triadic
#4E37A3 #A34E37 #37A34E
tetradic
#4E37A3 #A33756 #8CA337 #37A384
square
#4E37A3 #A33756 #8CA337 #37A384
split-complementary
#4E37A3 #A38437 #56A337
monochromatic
#221847 #382875 #4E37A3 #6B52C5 #9280D4

Accessibility & contrast

On white

8.75
#4E37A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E37A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37A3
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37A3#FFFFFF#000000##FFFFFF
##4E37A31.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#2E5268
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e37a3;
/* rgb */ color: rgb(78, 55, 163);
/* oklch */ color: oklch(42.9% 0.165 287.0);
Tailwind
colors: {
  custom: {
    50: '#876fbf',
    500: '#4e37a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e37a3;
$custom-light: #876fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37a3",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 252.778,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.16538,
    "h": 287
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#4E37A3
secondary
#AFBE78
accent
#D94FBC
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E37A3

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

Preview Lab → · Contrast checker → · Palette generator →

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