#4E36AC#4E36AC

#4E36AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.178 H 285.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4E36AC
RGBrgb(78, 54, 172)
HSLhsl(252, 52%, 44%)
HSVhsv(252, 69%, 67%)
CMYKcmyk(54.7%, 68.6%, 0%, 32.5%)
CIE-LABlab(32.34, 41.82, -59.65)
CIE-LCHlch(32.34, 72.85, 305.03°)
OKLaboklab(43.48% 0.048 -0.1714)
OKLCHoklch(43.48% 0.178 285.7)
XYZxyz(11.9052, 7.2359, 39.7911)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36AC #94AC36
analogous
#3659AC #4E36AC #8936AC
triadic
#4E36AC #AC4E36 #36AC4E
tetradic
#4E36AC #AC3659 #94AC36 #36AC89
square
#4E36AC #AC3659 #94AC36 #36AC89
split-complementary
#4E36AC #AC8936 #59AC36
monochromatic
#24194F #39277D #4E36AC #6D55CA #9584D8

Accessibility & contrast

On white

8.58
#4E36AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4E36AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36AC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36AC#FFFFFF#000000##FFFFFF
##4E36AC1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#26546C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4e36ac;
/* rgb */ color: rgb(78, 54, 172);
/* oklch */ color: oklch(43.5% 0.178 285.7);
Tailwind
colors: {
  custom: {
    50: '#896fc6',
    500: '#4e36ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e36ac;
$custom-light: #896fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36ac",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 252.203,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.17804,
    "h": 285.7
  },
  "luminance": 0.07237
}

Semantic roles & 50–950 ramp

primary
#4E36AC
secondary
#B4C27C
accent
#DC4CBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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