#4E36A3#4E36A3

#4E36A3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.167 H 287.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E36A3
RGBrgb(78, 54, 163)
HSLhsl(253, 50%, 43%)
HSVhsv(253, 67%, 64%)
CMYKcmyk(52.1%, 66.9%, 0%, 36.1%)
CIE-LABlab(31.58, 39.08, -55.48)
CIE-LCHlch(31.58, 67.86, 305.16°)
OKLaboklab(42.7% 0.0494 -0.1592)
OKLCHoklch(42.7% 0.167 287.2)
XYZxyz(11.0700, 6.9018, 35.3921)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36A3 #8BA336
analogous
#3655A3 #4E36A3 #8436A3
triadic
#4E36A3 #A34E36 #36A34E
tetradic
#4E36A3 #A33655 #8BA336 #36A384
square
#4E36A3 #A33655 #8BA336 #36A384
split-complementary
#4E36A3 #A38436 #55A336
monochromatic
#221847 #382775 #4E36A3 #6B51C5 #927FD5

Accessibility & contrast

On white

8.82
#4E36A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E36A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36A3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36A3#FFFFFF#000000##FFFFFF
##4E36A31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#2E5168
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e36a3;
/* rgb */ color: rgb(78, 54, 163);
/* oklch */ color: oklch(42.7% 0.167 287.2);
Tailwind
colors: {
  custom: {
    50: '#886fbf',
    500: '#4e36a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e36a3;
$custom-light: #886fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36a3",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 253.211,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.16665,
    "h": 287.2
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#4E36A3
secondary
#AEBE77
accent
#DA4EBB
background
#F8F6FB
surface
#F0ECF7
border
#CBC7D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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