#4E36B9#4E36B9

#4E36B9 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.6% C 0.194 H 283.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4E36B9
RGBrgb(78, 54, 185)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.8%, 70.8%, 0%, 27.5%)
CIE-LABlab(33.48, 45.76, -65.51)
CIE-LCHlch(33.48, 79.91, 304.94°)
OKLaboklab(44.64% 0.0458 -0.1886)
OKLCHoklch(44.64% 0.194 283.6)
XYZxyz(13.2153, 7.7600, 46.6910)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36B9 #A1B936
analogous
#3660B9 #4E36B9 #9036B9
triadic
#4E36B9 #B94E36 #36B94E
tetradic
#4E36B9 #B93660 #A1B936 #36B990
square
#4E36B9 #B93660 #A1B936 #36B990
split-complementary
#4E36B9 #B99036 #60B936
monochromatic
#261A5A #3A288A #4E36B9 #725DD0 #9B8CDD

Accessibility & contrast

On white

8.23
#4E36B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E36B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36B9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36B9#FFFFFF#000000##FFFFFF
##4E36B91.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#125974
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e36b9;
/* rgb */ color: rgb(78, 54, 185);
/* oklch */ color: oklch(44.6% 0.194 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b6fcf',
    500: '#4e36b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e36b9;
$custom-light: #8b6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36b9",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 250.992,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.1941,
    "h": 283.6
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#4E36B9
secondary
#BBC883
accent
#DE4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4E36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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