#4E39AE#4E39AE

#4E39AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.177 H 284.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#4E39AE
RGBrgb(78, 57, 174)
HSLhsl(251, 51%, 45%)
HSVhsv(251, 67%, 68%)
CMYKcmyk(55.2%, 67.2%, 0%, 31.8%)
CIE-LABlab(33.14, 40.71, -59.54)
CIE-LCHlch(33.14, 72.12, 304.36°)
OKLaboklab(44.11% 0.045 -0.1711)
OKLCHoklch(44.11% 0.177 284.7)
XYZxyz(12.2427, 7.6013, 40.8583)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E39AE #99AE39
analogous
#395FAE #4E39AE #8839AE
triadic
#4E39AE #AE4E39 #39AE4E
tetradic
#4E39AE #AE395F #99AE39 #39AE88
square
#4E39AE #AE395F #99AE39 #39AE88
split-complementary
#4E39AE #AE8839 #5FAE39
monochromatic
#251B52 #392A80 #4E39AE #6F5BC9 #9789D8

Accessibility & contrast

On white

8.33
#4E39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E39AE
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E39AE#FFFFFF#000000##FFFFFF
##4E39AE1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#23576E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e39ae;
/* rgb */ color: rgb(78, 57, 174);
/* oklch */ color: oklch(44.1% 0.177 284.7);
Tailwind
colors: {
  custom: {
    50: '#8971c7',
    500: '#4e39ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e39ae;
$custom-light: #8971c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e39ae",
  "rgb": {
    "r": 78,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 250.769,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.17692,
    "h": 284.7
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#4E39AE
secondary
#B7C380
accent
#DA4EC1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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