#4E37B2#4E37B2

#4E37B2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.184 H 284.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E37B2
RGBrgb(78, 55, 178)
HSLhsl(251, 53%, 46%)
HSVhsv(251, 69%, 70%)
CMYKcmyk(56.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(33.06, 43.08, -62.04)
CIE-LCHlch(33.06, 75.53, 304.77°)
OKLaboklab(44.16% 0.0462 -0.1785)
OKLCHoklch(44.16% 0.184 284.5)
XYZxyz(12.5415, 7.5657, 42.9103)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B2 #9BB237
analogous
#375DB2 #4E37B2 #8C37B2
triadic
#4E37B2 #B24E37 #37B24E
tetradic
#4E37B2 #B2375D #9BB237 #37B28C
square
#4E37B2 #B2375D #9BB237 #37B28C
split-complementary
#4E37B2 #B28C37 #5DB237
monochromatic
#251A54 #3A2983 #4E37B2 #6F5ACC #9889DB

Accessibility & contrast

On white

8.36
#4E37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E37B2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B2#FFFFFF#000000##FFFFFF
##4E37B21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#1E5770
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e37b2;
/* rgb */ color: rgb(78, 55, 178);
/* oklch */ color: oklch(44.2% 0.184 284.5);
Tailwind
colors: {
  custom: {
    50: '#8a70ca',
    500: '#4e37b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b2;
$custom-light: #8a70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b2",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 251.22,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44156,
    "c": 0.18433,
    "h": 284.5
  },
  "luminance": 0.07566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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