#4E27A9#4E27A9

#4E27A9 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.2% C 0.191 H 288.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4E27A9
RGBrgb(78, 39, 169)
HSLhsl(258, 63%, 41%)
HSVhsv(258, 77%, 66%)
CMYKcmyk(53.8%, 76.9%, 0%, 33.7%)
CIE-LABlab(29.25, 48.83, -62.91)
CIE-LCHlch(29.25, 79.64, 307.82°)
OKLaboklab(41.2% 0.0613 -0.1809)
OKLCHoklch(41.2% 0.191 288.7)
XYZxyz(11.0267, 5.9348, 38.0929)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E27A9 #82A927
analogous
#2741A9 #4E27A9 #8F27A9
triadic
#4E27A9 #A94E27 #27A94E
tetradic
#4E27A9 #A92741 #82A927 #27A98F
square
#4E27A9 #A92741 #82A927 #27A98F
split-complementary
#4E27A9 #A98F27 #41A927
monochromatic
#201046 #371C77 #4E27A9 #683BD2 #8F6DDD

Accessibility & contrast

On white

9.60
#4E27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E27A9
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E27A9#FFFFFF#000000##FFFFFF
##4E27A91.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#2A4C67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e27a9;
/* rgb */ color: rgb(78, 39, 169);
/* oklch */ color: oklch(41.2% 0.191 288.7);
Tailwind
colors: {
  custom: {
    50: '#8a66c4',
    500: '#4e27a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e27a9;
$custom-light: #8a66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e27a9",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 258,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41202,
    "c": 0.19103,
    "h": 288.7
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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