#4E27AE#4E27AE

#4E27AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.197 H 287.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4E27AE
RGBrgb(78, 39, 174)
HSLhsl(257, 63%, 42%)
HSVhsv(257, 78%, 68%)
CMYKcmyk(55.2%, 77.6%, 0%, 31.8%)
CIE-LABlab(29.73, 50.23, -65.12)
CIE-LCHlch(29.73, 82.25, 307.64°)
OKLaboklab(41.68% 0.0599 -0.1874)
OKLCHoklch(41.68% 0.197 287.7)
XYZxyz(11.5051, 6.1261, 40.6124)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27AE #87AE27
analogous
#2744AE #4E27AE #9227AE
triadic
#4E27AE #AE4E27 #27AE4E
tetradic
#4E27AE #AE2744 #87AE27 #27AE92
square
#4E27AE #AE2744 #87AE27 #27AE92
split-complementary
#4E27AE #AE9227 #44AE27
monochromatic
#21114A #381C7C #4E27AE #6A3ED4 #9070DF

Accessibility & contrast

On white

9.44
#4E27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4E27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E27AE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27AE#FFFFFF#000000##FFFFFF
##4E27AE1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#254E6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e27ae;
/* rgb */ color: rgb(78, 39, 174);
/* oklch */ color: oklch(41.7% 0.197 287.7);
Tailwind
colors: {
  custom: {
    50: '#8a66c7',
    500: '#4e27ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e27ae;
$custom-light: #8a66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27ae",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 257.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.19673,
    "h": 287.7
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#4E27AE
secondary
#ACC66B
accent
#E641B7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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