#4E37AF#4E37AF

#4E37AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.181 H 285.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#4E37AF
RGBrgb(78, 55, 175)
HSLhsl(252, 52%, 45%)
HSVhsv(252, 69%, 69%)
CMYKcmyk(55.4%, 68.6%, 0%, 31.4%)
CIE-LABlab(32.80, 42.16, -60.68)
CIE-LCHlch(32.80, 73.89, 304.79°)
OKLaboklab(43.89% 0.0466 -0.1745)
OKLCHoklch(43.89% 0.181 285)
XYZxyz(12.2436, 7.4465, 41.3413)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E37AF #98AF37
analogous
#375CAF #4E37AF #8A37AF
triadic
#4E37AF #AF4E37 #37AF4E
tetradic
#4E37AF #AF375C #98AF37 #37AF8A
square
#4E37AF #AF375C #98AF37 #37AF8A
split-complementary
#4E37AF #AF8A37 #5CAF37
monochromatic
#241A52 #392880 #4E37AF #6E59CB #9787D9

Accessibility & contrast

On white

8.44
#4E37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4E37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E37AF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E37AF#FFFFFF#000000##FFFFFF
##4E37AF1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#22566E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e37af;
/* rgb */ color: rgb(78, 55, 175);
/* oklch */ color: oklch(43.9% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#8970c8',
    500: '#4e37af',
    950: '#000000',
  },
}
SCSS
$custom: #4e37af;
$custom-light: #8970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e37af",
  "rgb": {
    "r": 78,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 251.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4389,
    "c": 0.1806,
    "h": 285
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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