#4E27AA#4E27AA

#4E27AA is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.192 H 288.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4E27AA
RGBrgb(78, 39, 170)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 77%, 67%)
CMYKcmyk(54.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(29.34, 49.11, -63.36)
CIE-LCHlch(29.34, 80.16, 307.78°)
OKLaboklab(41.3% 0.061 -0.1822)
OKLCHoklch(41.3% 0.192 288.5)
XYZxyz(11.1210, 5.9725, 38.5892)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27AA #83AA27
analogous
#2741AA #4E27AA #8F27AA
triadic
#4E27AA #AA4E27 #27AA4E
tetradic
#4E27AA #AA2741 #83AA27 #27AA8F
square
#4E27AA #AA2741 #83AA27 #27AA8F
split-complementary
#4E27AA #AA8F27 #41AA27
monochromatic
#201046 #371C78 #4E27AA #693CD2 #8F6EDE

Accessibility & contrast

On white

9.57
#4E27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E27AA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27AA#FFFFFF#000000##FFFFFF
##4E27AA1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#294C67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e27aa;
/* rgb */ color: rgb(78, 39, 170);
/* oklch */ color: oklch(41.3% 0.192 288.5);
Tailwind
colors: {
  custom: {
    50: '#8a66c4',
    500: '#4e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e27aa;
$custom-light: #8a66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27aa",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 257.863,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.19217,
    "h": 288.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#4E27AA
secondary
#A9C469
accent
#E642B5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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