#4D36B9#4D36B9

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

Color values

HEX#4D36B9
RGBrgb(77, 54, 185)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(58.4%, 70.8%, 0%, 27.5%)
CIE-LABlab(33.39, 45.62, -65.66)
CIE-LCHlch(33.39, 79.95, 304.79°)
OKLaboklab(44.56% 0.0444 -0.1891)
OKLCHoklch(44.56% 0.194 283.2)
XYZxyz(13.1340, 7.7180, 46.6872)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36B9 #A2B936
analogous
#3661B9 #4D36B9 #8F36B9
triadic
#4D36B9 #B94D36 #36B94D
tetradic
#4D36B9 #B93661 #A2B936 #36B98F
square
#4D36B9 #B93661 #A2B936 #36B98F
split-complementary
#4D36B9 #B98F36 #61B936
monochromatic
#261A5A #39288A #4D36B9 #715DD0 #9A8CDD

Accessibility & contrast

On white

8.26
#4D36B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D36B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36B9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36B9#FFFFFF#000000##FFFFFF
##4D36B91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d36b9;
/* rgb */ color: rgb(77, 54, 185);
/* oklch */ color: oklch(44.6% 0.194 283.2);
Tailwind
colors: {
  custom: {
    50: '#8b6fcf',
    500: '#4d36b9',
    950: '#000000',
  },
}
SCSS
$custom: #4d36b9;
$custom-light: #8b6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36b9",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 250.534,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.19423,
    "h": 283.2
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#4D36B9
secondary
#BCC883
accent
#DE4AC4
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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