#4E37B1#4E37B1

#4E37B1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.183 H 284.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4E37B1
RGBrgb(78, 55, 177)
HSLhsl(251, 53%, 45%)
HSVhsv(251, 69%, 69%)
CMYKcmyk(55.9%, 68.9%, 0%, 30.6%)
CIE-LABlab(32.97, 42.77, -61.59)
CIE-LCHlch(32.97, 74.99, 304.78°)
OKLaboklab(44.07% 0.0463 -0.1771)
OKLCHoklch(44.07% 0.183 284.7)
XYZxyz(12.4415, 7.5257, 42.3835)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B1 #9AB137
analogous
#375DB1 #4E37B1 #8B37B1
triadic
#4E37B1 #B14E37 #37B14E
tetradic
#4E37B1 #B1375D #9AB137 #37B18B
square
#4E37B1 #B1375D #9AB137 #37B18B
split-complementary
#4E37B1 #B18B37 #5DB137
monochromatic
#251A54 #392882 #4E37B1 #6F5ACC #9888DA

Accessibility & contrast

On white

8.38
#4E37B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E37B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B1
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B1#FFFFFF#000000##FFFFFF
##4E37B11.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#20576F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e37b1;
/* rgb */ color: rgb(78, 55, 177);
/* oklch */ color: oklch(44.1% 0.183 284.7);
Tailwind
colors: {
  custom: {
    50: '#8a70c9',
    500: '#4e37b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b1;
$custom-light: #8a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b1",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 251.311,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.1831,
    "h": 284.7
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#4E37B1
secondary
#B7C480
accent
#DC4CC1
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E37B1

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

Preview Lab → · Contrast checker → · Palette generator →

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