#4E36A7#4E36A7

#4E36A7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.172 H 286.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4E36A7
RGBrgb(78, 54, 167)
HSLhsl(253, 51%, 43%)
HSVhsv(253, 68%, 65%)
CMYKcmyk(53.3%, 67.7%, 0%, 34.5%)
CIE-LABlab(31.91, 40.30, -57.34)
CIE-LCHlch(31.91, 70.08, 305.10°)
OKLaboklab(43.04% 0.0488 -0.1647)
OKLCHoklch(43.04% 0.172 286.5)
XYZxyz(11.4340, 7.0475, 37.3095)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36A7 #8FA736
analogous
#3657A7 #4E36A7 #8636A7
triadic
#4E36A7 #A74E36 #36A74E
tetradic
#4E36A7 #A73657 #8FA736 #36A786
square
#4E36A7 #A73657 #8FA736 #36A786
split-complementary
#4E36A7 #A78636 #57A736
monochromatic
#23184B #382779 #4E36A7 #6C53C7 #9381D6

Accessibility & contrast

On white

8.72
#4E36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4E36A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36A7
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36A7#FFFFFF#000000##FFFFFF
##4E36A71.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#2B526A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e36a7;
/* rgb */ color: rgb(78, 54, 167);
/* oklch */ color: oklch(43.0% 0.172 286.5);
Tailwind
colors: {
  custom: {
    50: '#886fc2',
    500: '#4e36a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e36a7;
$custom-light: #886fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36a7",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 252.743,
    "s": 51.131,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.17174,
    "h": 286.5
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#4E36A7
secondary
#B1C079
accent
#DB4DBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E36A7

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

Preview Lab → · Contrast checker → · Palette generator →

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