#4D36BB#4D36BB

#4D36BB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.7% C 0.197 H 282.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4D36BB
RGBrgb(77, 54, 187)
HSLhsl(250, 55%, 47%)
HSVhsv(250, 71%, 73%)
CMYKcmyk(58.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(33.57, 46.22, -66.55)
CIE-LCHlch(33.57, 81.02, 304.78°)
OKLaboklab(44.74% 0.044 -0.1917)
OKLCHoklch(44.74% 0.197 282.9)
XYZxyz(13.3466, 7.8031, 47.8069)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36BB #A4BB36
analogous
#3661BB #4D36BB #9036BB
triadic
#4D36BB #BB4D36 #36BB4D
tetradic
#4D36BB #BB3661 #A4BB36 #36BB90
square
#4D36BB #BB3661 #A4BB36 #36BB90
split-complementary
#4D36BB #BB9036 #61BB36
monochromatic
#261B5C #39288C #4D36BB #725ED0 #9B8DDE

Accessibility & contrast

On white

8.20
#4D36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36BB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36BB#FFFFFF#000000##FFFFFF
##4D36BB1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#055A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d36bb;
/* rgb */ color: rgb(77, 54, 187);
/* oklch */ color: oklch(44.7% 0.197 282.9);
Tailwind
colors: {
  custom: {
    50: '#8b6fd1',
    500: '#4d36bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d36bb;
$custom-light: #8b6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36bb",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 250.376,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.19667,
    "h": 282.9
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#4D36BB
secondary
#BDC984
accent
#DF49C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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