#4E37B4#4E37B4

#4E37B4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.187 H 284.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E37B4
RGBrgb(78, 55, 180)
HSLhsl(251, 53%, 46%)
HSVhsv(251, 69%, 71%)
CMYKcmyk(56.7%, 69.4%, 0%, 29.4%)
CIE-LABlab(33.24, 43.69, -62.95)
CIE-LCHlch(33.24, 76.62, 304.76°)
OKLaboklab(44.33% 0.0458 -0.1811)
OKLCHoklch(44.33% 0.187 284.2)
XYZxyz(12.7438, 7.6466, 43.9756)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B4 #9DB437
analogous
#375EB4 #4E37B4 #8C37B4
triadic
#4E37B4 #B44E37 #37B44E
tetradic
#4E37B4 #B4375E #9DB437 #37B48C
square
#4E37B4 #B4375E #9DB437 #37B48C
split-complementary
#4E37B4 #B48C37 #5EB437
monochromatic
#251A56 #3A2985 #4E37B4 #705BCD #998ADB

Accessibility & contrast

On white

8.30
#4E37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E37B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B4#FFFFFF#000000##FFFFFF
##4E37B41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#1B5871
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e37b4;
/* rgb */ color: rgb(78, 55, 180);
/* oklch */ color: oklch(44.3% 0.187 284.2);
Tailwind
colors: {
  custom: {
    50: '#8a70cb',
    500: '#4e37b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b4;
$custom-light: #8a70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b4",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 251.04,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.18682,
    "h": 284.2
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#4E37B4
secondary
#B9C681
accent
#DD4BC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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