#4D36A8#4D36A8

#4D36A8 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.173 H 285.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4D36A8
RGBrgb(77, 54, 168)
HSLhsl(252, 51%, 44%)
HSVhsv(252, 68%, 66%)
CMYKcmyk(54.2%, 67.9%, 0%, 34.1%)
CIE-LABlab(31.90, 40.43, -57.96)
CIE-LCHlch(31.90, 70.67, 304.89°)
OKLaboklab(43.04% 0.0472 -0.1665)
OKLCHoklch(43.04% 0.173 285.8)
XYZxyz(11.4455, 7.0427, 37.7945)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36A8 #91A836
analogous
#3658A8 #4D36A8 #8636A8
triadic
#4D36A8 #A84D36 #36A84D
tetradic
#4D36A8 #A83658 #91A836 #36A886
square
#4D36A8 #A83658 #91A836 #36A886
split-complementary
#4D36A8 #A88636 #58A836
monochromatic
#23184B #38277A #4D36A8 #6B53C8 #9382D7

Accessibility & contrast

On white

8.72
#4D36A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D36A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36A8
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36A8#FFFFFF#000000##FFFFFF
##4D36A81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#27536A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d36a8;
/* rgb */ color: rgb(77, 54, 168);
/* oklch */ color: oklch(43.0% 0.173 285.8);
Tailwind
colors: {
  custom: {
    50: '#886fc3',
    500: '#4d36a8',
    950: '#000000',
  },
}
SCSS
$custom: #4d36a8;
$custom-light: #886fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36a8",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 252.105,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.17309,
    "h": 285.8
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#4D36A8
secondary
#B2C07A
accent
#DB4DBE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D36A8

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

Preview Lab → · Contrast checker → · Palette generator →

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