#4E36AA#4E36AA

#4E36AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.176 H 286.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4E36AA
RGBrgb(78, 54, 170)
HSLhsl(252, 52%, 44%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(54.1%, 68.2%, 0%, 33.3%)
CIE-LABlab(32.17, 41.21, -58.73)
CIE-LCHlch(32.17, 71.74, 305.06°)
OKLaboklab(43.3% 0.0483 -0.1687)
OKLCHoklch(43.3% 0.176 286)
XYZxyz(11.7146, 7.1597, 38.7871)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36AA #92AA36
analogous
#3658AA #4E36AA #8836AA
triadic
#4E36AA #AA4E36 #36AA4E
tetradic
#4E36AA #AA3658 #92AA36 #36AA88
square
#4E36AA #AA3658 #92AA36 #36AA88
split-complementary
#4E36AA #AA8836 #58AA36
monochromatic
#23184D #39277C #4E36AA #6C54C9 #9483D8

Accessibility & contrast

On white

8.63
#4E36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4E36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36AA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36AA#FFFFFF#000000##FFFFFF
##4E36AA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#28546B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e36aa;
/* rgb */ color: rgb(78, 54, 170);
/* oklch */ color: oklch(43.3% 0.176 286.0);
Tailwind
colors: {
  custom: {
    50: '#896fc4',
    500: '#4e36aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e36aa;
$custom-light: #896fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36aa",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 252.414,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.17553,
    "h": 286
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#4E36AA
secondary
#B3C17B
accent
#DB4DBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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