#4E37B0#4E37B0

#4E37B0 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.182 H 284.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4E37B0
RGBrgb(78, 55, 176)
HSLhsl(251, 52%, 45%)
HSVhsv(251, 69%, 69%)
CMYKcmyk(55.7%, 68.8%, 0%, 31%)
CIE-LABlab(32.89, 42.47, -61.14)
CIE-LCHlch(32.89, 74.44, 304.79°)
OKLaboklab(43.98% 0.0465 -0.1758)
OKLCHoklch(43.98% 0.182 284.8)
XYZxyz(12.3422, 7.4860, 41.8605)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37B0 #99B037
analogous
#375CB0 #4E37B0 #8A37B0
triadic
#4E37B0 #B04E37 #37B04E
tetradic
#4E37B0 #B0375C #99B037 #37B08A
square
#4E37B0 #B0375C #99B037 #37B08A
split-complementary
#4E37B0 #B08A37 #5CB037
monochromatic
#251A53 #392881 #4E37B0 #6F59CB #9788DA

Accessibility & contrast

On white

8.41
#4E37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E37B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37B0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37B0#FFFFFF#000000##FFFFFF
##4E37B01.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#21566F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e37b0;
/* rgb */ color: rgb(78, 55, 176);
/* oklch */ color: oklch(44.0% 0.182 284.8);
Tailwind
colors: {
  custom: {
    50: '#8a70c9',
    500: '#4e37b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e37b0;
$custom-light: #8a70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37b0",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 176
  },
  "hsl": {
    "h": 251.405,
    "s": 52.381,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43978,
    "c": 0.18184,
    "h": 284.8
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#4E37B0
secondary
#B7C47F
accent
#DC4CC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E37B0

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

Preview Lab → · Contrast checker → · Palette generator →

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