#4E36A5#4E36A5

#4E36A5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.169 H 286.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#4E36A5
RGBrgb(78, 54, 165)
HSLhsl(253, 51%, 43%)
HSVhsv(253, 67%, 65%)
CMYKcmyk(52.7%, 67.3%, 0%, 35.3%)
CIE-LABlab(31.75, 39.69, -56.41)
CIE-LCHlch(31.75, 68.97, 305.13°)
OKLaboklab(42.87% 0.0491 -0.1619)
OKLCHoklch(42.87% 0.169 286.9)
XYZxyz(11.2506, 6.9741, 36.3433)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36A5 #8DA536
analogous
#3655A5 #4E36A5 #8536A5
triadic
#4E36A5 #A54E36 #36A54E
tetradic
#4E36A5 #A53655 #8DA536 #36A585
square
#4E36A5 #A53655 #8DA536 #36A585
split-complementary
#4E36A5 #A58536 #55A536
monochromatic
#221849 #382777 #4E36A5 #6B52C6 #9280D5

Accessibility & contrast

On white

8.77
#4E36A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4E36A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36A5
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36A5#FFFFFF#000000##FFFFFF
##4E36A51.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#2C5269
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e36a5;
/* rgb */ color: rgb(78, 54, 165);
/* oklch */ color: oklch(42.9% 0.169 286.9);
Tailwind
colors: {
  custom: {
    50: '#886fc1',
    500: '#4e36a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e36a5;
$custom-light: #886fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36a5",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 252.973,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42869,
    "c": 0.1692,
    "h": 286.9
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#4E36A5
secondary
#AFBF78
accent
#DA4EBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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