#4E36B6#4E36B6

#4E36B6 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.190 H 284.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E36B6
RGBrgb(78, 54, 182)
HSLhsl(251, 54%, 46%)
HSVhsv(251, 70%, 71%)
CMYKcmyk(57.1%, 70.3%, 0%, 28.6%)
CIE-LABlab(33.21, 44.85, -64.18)
CIE-LCHlch(33.21, 78.30, 304.95°)
OKLaboklab(44.37% 0.0463 -0.1847)
OKLCHoklch(44.37% 0.19 284.1)
XYZxyz(12.9020, 7.6346, 45.0407)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36B6 #9EB636
analogous
#365EB6 #4E36B6 #8E36B6
triadic
#4E36B6 #B64E36 #36B64E
tetradic
#4E36B6 #B6365E #9EB636 #36B68E
square
#4E36B6 #B6365E #9EB636 #36B68E
split-complementary
#4E36B6 #B68E36 #5EB636
monochromatic
#261A58 #3A2887 #4E36B6 #715BCE #9A8ADC

Accessibility & contrast

On white

8.31
#4E36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E36B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36B6
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36B6#FFFFFF#000000##FFFFFF
##4E36B61.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#185872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e36b6;
/* rgb */ color: rgb(78, 54, 182);
/* oklch */ color: oklch(44.4% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#8b6fcd',
    500: '#4e36b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e36b6;
$custom-light: #8b6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36b6",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 251.25,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.19043,
    "h": 284.1
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E36B6

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

Preview Lab → · Contrast checker → · Palette generator →

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