#4E36A6#4E36A6

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

Color values

HEX#4E36A6
RGBrgb(78, 54, 166)
HSLhsl(253, 51%, 43%)
HSVhsv(253, 67%, 65%)
CMYKcmyk(53%, 67.5%, 0%, 34.9%)
CIE-LABlab(31.83, 39.99, -56.88)
CIE-LCHlch(31.83, 69.53, 305.11°)
OKLaboklab(42.96% 0.0489 -0.1633)
OKLCHoklch(42.96% 0.17 286.7)
XYZxyz(11.3419, 7.0106, 36.8246)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36A6 #8EA636
analogous
#3656A6 #4E36A6 #8636A6
triadic
#4E36A6 #A64E36 #36A64E
tetradic
#4E36A6 #A63656 #8EA636 #36A686
square
#4E36A6 #A63656 #8EA636 #36A686
split-complementary
#4E36A6 #A68636 #56A636
monochromatic
#23184A #382778 #4E36A6 #6B52C7 #9381D6

Accessibility & contrast

On white

8.74
#4E36A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E36A6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36A6#FFFFFF#000000##FFFFFF
##4E36A61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#2B5269
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e36a6;
/* rgb */ color: rgb(78, 54, 166);
/* oklch */ color: oklch(43.0% 0.170 286.7);
Tailwind
colors: {
  custom: {
    50: '#886fc1',
    500: '#4e36a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e36a6;
$custom-light: #886fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36a6",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 252.857,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.17048,
    "h": 286.7
  },
  "luminance": 0.07011
}

Semantic roles & 50–950 ramp

primary
#4E36A6
secondary
#B0BF79
accent
#DA4DBC
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4E36A6

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

Preview Lab → · Contrast checker → · Palette generator →

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