#4E36B4#4E36B4

#4E36B4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.2% C 0.188 H 284.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#4E36B4
RGBrgb(78, 54, 180)
HSLhsl(251, 54%, 46%)
HSVhsv(251, 70%, 71%)
CMYKcmyk(56.7%, 70%, 0%, 29.4%)
CIE-LABlab(33.03, 44.25, -63.28)
CIE-LCHlch(33.03, 77.21, 304.96°)
OKLaboklab(44.19% 0.0467 -0.1821)
OKLCHoklch(44.19% 0.188 284.4)
XYZxyz(12.6968, 7.5526, 43.9599)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36B4 #9CB436
analogous
#365DB4 #4E36B4 #8D36B4
triadic
#4E36B4 #B44E36 #36B44E
tetradic
#4E36B4 #B4365D #9CB436 #36B48D
square
#4E36B4 #B4365D #9CB436 #36B48D
split-complementary
#4E36B4 #B48D36 #5DB436
monochromatic
#251A56 #3A2885 #4E36B4 #705ACD #9989DC

Accessibility & contrast

On white

8.36
#4E36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E36B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36B4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36B4#FFFFFF#000000##FFFFFF
##4E36B41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#1B5771
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e36b4;
/* rgb */ color: rgb(78, 54, 180);
/* oklch */ color: oklch(44.2% 0.188 284.4);
Tailwind
colors: {
  custom: {
    50: '#8a6fcb',
    500: '#4e36b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e36b4;
$custom-light: #8a6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36b4",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 251.429,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44189,
    "c": 0.18797,
    "h": 284.4
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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