#4D36AA#4D36AA

#4D36AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.176 H 285.5°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4D36AA
RGBrgb(77, 54, 170)
HSLhsl(252, 52%, 44%)
HSVhsv(252, 68%, 67%)
CMYKcmyk(54.7%, 68.2%, 0%, 33.3%)
CIE-LABlab(32.07, 41.04, -58.89)
CIE-LCHlch(32.07, 71.78, 304.87°)
OKLaboklab(43.21% 0.0469 -0.1692)
OKLCHoklch(43.21% 0.176 285.5)
XYZxyz(11.6333, 7.1178, 38.7833)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36AA #93AA36
analogous
#3659AA #4D36AA #8736AA
triadic
#4D36AA #AA4D36 #36AA4D
tetradic
#4D36AA #AA3659 #93AA36 #36AA87
square
#4D36AA #AA3659 #93AA36 #36AA87
split-complementary
#4D36AA #AA8736 #59AA36
monochromatic
#23184D #38277C #4D36AA #6B54C9 #9483D8

Accessibility & contrast

On white

8.66
#4D36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36AA
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36AA#FFFFFF#000000##FFFFFF
##4D36AA1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#25546B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d36aa;
/* rgb */ color: rgb(77, 54, 170);
/* oklch */ color: oklch(43.2% 0.176 285.5);
Tailwind
colors: {
  custom: {
    50: '#886fc4',
    500: '#4d36aa',
    950: '#000000',
  },
}
SCSS
$custom: #4d36aa;
$custom-light: #886fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36aa",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 251.897,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.17562,
    "h": 285.5
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#4D36AA
secondary
#B3C17B
accent
#DB4DBF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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