#4E36A9#4E36A9

#4E36A9 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.174 H 286.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4E36A9
RGBrgb(78, 54, 169)
HSLhsl(253, 52%, 44%)
HSVhsv(253, 68%, 66%)
CMYKcmyk(53.8%, 68%, 0%, 33.7%)
CIE-LABlab(32.08, 40.90, -58.27)
CIE-LCHlch(32.08, 71.19, 305.07°)
OKLaboklab(43.22% 0.0485 -0.1674)
OKLCHoklch(43.22% 0.174 286.2)
XYZxyz(11.6203, 7.1220, 38.2908)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36A9 #91A936
analogous
#3657A9 #4E36A9 #8736A9
triadic
#4E36A9 #A94E36 #36A94E
tetradic
#4E36A9 #A93657 #91A936 #36A987
square
#4E36A9 #A93657 #91A936 #36A987
split-complementary
#4E36A9 #A98736 #57A936
monochromatic
#23184C #39277B #4E36A9 #6C54C8 #9482D7

Accessibility & contrast

On white

8.66
#4E36A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4E36A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36A9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36A9#FFFFFF#000000##FFFFFF
##4E36A91.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#29536B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e36a9;
/* rgb */ color: rgb(78, 54, 169);
/* oklch */ color: oklch(43.2% 0.174 286.2);
Tailwind
colors: {
  custom: {
    50: '#886fc3',
    500: '#4e36a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e36a9;
$custom-light: #886fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36a9",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 252.522,
    "s": 51.57,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.17427,
    "h": 286.2
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#4E36A9
secondary
#B2C17A
accent
#DB4DBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4E36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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