#4E36AE#4E36AE

#4E36AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.181 H 285.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4E36AE
RGBrgb(78, 54, 174)
HSLhsl(252, 53%, 45%)
HSVhsv(252, 69%, 68%)
CMYKcmyk(55.2%, 69%, 0%, 31.8%)
CIE-LABlab(32.51, 42.42, -60.56)
CIE-LCHlch(32.51, 73.94, 305.01°)
OKLaboklab(43.65% 0.0477 -0.1741)
OKLCHoklch(43.65% 0.181 285.3)
XYZxyz(12.0987, 7.3133, 40.8103)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36AE #96AE36
analogous
#365AAE #4E36AE #8A36AE
triadic
#4E36AE #AE4E36 #36AE4E
tetradic
#4E36AE #AE365A #96AE36 #36AE8A
square
#4E36AE #AE365A #96AE36 #36AE8A
split-complementary
#4E36AE #AE8A36 #5AAE36
monochromatic
#241951 #39287F #4E36AE #6E56CB #9685D9

Accessibility & contrast

On white

8.53
#4E36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4E36AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36AE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36AE#FFFFFF#000000##FFFFFF
##4E36AE1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#23556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e36ae;
/* rgb */ color: rgb(78, 54, 174);
/* oklch */ color: oklch(43.7% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#896fc7',
    500: '#4e36ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e36ae;
$custom-light: #896fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36ae",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 252,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43653,
    "c": 0.18054,
    "h": 285.3
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#4E36AE
secondary
#B5C37D
accent
#DC4CBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4E36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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