#4E36B7#4E36B7

#4E36B7 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.192 H 283.9°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E36B7
RGBrgb(78, 54, 183)
HSLhsl(251, 54%, 46%)
HSVhsv(251, 70%, 72%)
CMYKcmyk(57.4%, 70.5%, 0%, 28.2%)
CIE-LABlab(33.30, 45.16, -64.62)
CIE-LCHlch(33.30, 78.84, 304.95°)
OKLaboklab(44.46% 0.0461 -0.186)
OKLCHoklch(44.46% 0.192 283.9)
XYZxyz(13.0057, 7.6761, 45.5869)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36B7 #9FB736
analogous
#365FB7 #4E36B7 #8F36B7
triadic
#4E36B7 #B74E36 #36B74E
tetradic
#4E36B7 #B7365F #9FB736 #36B78F
square
#4E36B7 #B7365F #9FB736 #36B78F
split-complementary
#4E36B7 #B78F36 #5FB736
monochromatic
#261A58 #3A2888 #4E36B7 #715BCF #9A8BDD

Accessibility & contrast

On white

8.28
#4E36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36B7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36B7#FFFFFF#000000##FFFFFF
##4E36B71.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#165872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e36b7;
/* rgb */ color: rgb(78, 54, 183);
/* oklch */ color: oklch(44.5% 0.192 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b6fce',
    500: '#4e36b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e36b7;
$custom-light: #8b6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36b7",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 251.163,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44461,
    "c": 0.19165,
    "h": 283.9
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#4E36B7
secondary
#BAC782
accent
#DE4AC2
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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