#4E36B3#4E36B3

#4E36B3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.187 H 284.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4E36B3
RGBrgb(78, 54, 179)
HSLhsl(252, 54%, 46%)
HSVhsv(252, 70%, 70%)
CMYKcmyk(56.4%, 69.8%, 0%, 29.8%)
CIE-LABlab(32.95, 43.94, -62.83)
CIE-LCHlch(32.95, 76.67, 304.97°)
OKLaboklab(44.1% 0.0469 -0.1808)
OKLCHoklch(44.1% 0.187 284.5)
XYZxyz(12.5953, 7.5120, 43.4253)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36B3 #9BB336
analogous
#365CB3 #4E36B3 #8C36B3
triadic
#4E36B3 #B34E36 #36B34E
tetradic
#4E36B3 #B3365C #9BB336 #36B38C
square
#4E36B3 #B3365C #9BB336 #36B38C
split-complementary
#4E36B3 #B38C36 #5CB336
monochromatic
#251A55 #3A2884 #4E36B3 #6F59CD #9888DB

Accessibility & contrast

On white

8.39
#4E36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4E36B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36B3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36B3#FFFFFF#000000##FFFFFF
##4E36B31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#1D5770
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e36b3;
/* rgb */ color: rgb(78, 54, 179);
/* oklch */ color: oklch(44.1% 0.187 284.5);
Tailwind
colors: {
  custom: {
    50: '#8a6fcb',
    500: '#4e36b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e36b3;
$custom-light: #8a6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36b3",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 251.52,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.18674,
    "h": 284.5
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#4E36B3
secondary
#B8C580
accent
#DD4BC1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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