#4E36BF#4E36BF

#4E36BF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.201 H 282.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4E36BF
RGBrgb(78, 54, 191)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(59.2%, 71.7%, 0%, 25.1%)
CIE-LABlab(34.02, 47.58, -68.16)
CIE-LCHlch(34.02, 83.12, 304.92°)
OKLaboklab(45.2% 0.0446 -0.1964)
OKLCHoklch(45.2% 0.201 282.8)
XYZxyz(13.8621, 8.0187, 50.0974)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E36BF #A7BF36
analogous
#3662BF #4E36BF #9236BF
triadic
#4E36BF #BF4E36 #36BF4E
tetradic
#4E36BF #BF3662 #A7BF36 #36BF92
square
#4E36BF #BF3662 #A7BF36 #36BF92
split-complementary
#4E36BF #BF9236 #62BF36
monochromatic
#271B60 #3B298F #4E36BF #7460D2 #9E90E0

Accessibility & contrast

On white

8.06
#4E36BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E36BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E36BF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E36BF#FFFFFF#000000##FFFFFF
##4E36BF1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e36bf;
/* rgb */ color: rgb(78, 54, 191);
/* oklch */ color: oklch(45.2% 0.201 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c70d3',
    500: '#4e36bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e36bf;
$custom-light: #8c70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e36bf",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 250.511,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.20137,
    "h": 282.8
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

primary
#4E36BF
secondary
#BECA87
accent
#DF49C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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