#4E37B9#4E37B9

#4E37B9 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.193 H 283.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E37B9
RGBrgb(78, 55, 185)
HSLhsl(251, 54%, 47%)
HSVhsv(251, 70%, 73%)
CMYKcmyk(57.8%, 70.3%, 0%, 27.5%)
CIE-LABlab(33.68, 45.21, -65.19)
CIE-LCHlch(33.68, 79.33, 304.74°)
OKLaboklab(44.79% 0.0449 -0.1877)
OKLCHoklch(44.79% 0.193 283.5)
XYZxyz(13.2623, 7.8540, 46.7067)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B9 #A2B937
analogous
#3761B9 #4E37B9 #8F37B9
triadic
#4E37B9 #B94E37 #37B94E
tetradic
#4E37B9 #B93761 #A2B937 #37B98F
square
#4E37B9 #B93761 #A2B937 #37B98F
split-complementary
#4E37B9 #B98F37 #61B937
monochromatic
#261B5B #3A298A #4E37B9 #725ECF #9B8DDD

Accessibility & contrast

On white

8.17
#4E37B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E37B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B9
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B9#FFFFFF#000000##FFFFFF
##4E37B91.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#125A74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e37b9;
/* rgb */ color: rgb(78, 55, 185);
/* oklch */ color: oklch(44.8% 0.193 283.5);
Tailwind
colors: {
  custom: {
    50: '#8b70cf',
    500: '#4e37b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b9;
$custom-light: #8b70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b9",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 250.615,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.19298,
    "h": 283.5
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#4E37B9
secondary
#BCC884
accent
#DE4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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