#4D36B7#4D36B7

#4D36B7 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.192 H 283.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4D36B7
RGBrgb(77, 54, 183)
HSLhsl(251, 54%, 46%)
HSVhsv(251, 70%, 72%)
CMYKcmyk(57.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(33.21, 45.01, -64.77)
CIE-LCHlch(33.21, 78.87, 304.79°)
OKLaboklab(44.38% 0.0447 -0.1865)
OKLCHoklch(44.38% 0.192 283.5)
XYZxyz(12.9243, 7.6342, 45.5831)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36B7 #A0B736
analogous
#3660B7 #4D36B7 #8E36B7
triadic
#4D36B7 #B74D36 #36B74D
tetradic
#4D36B7 #B73660 #A0B736 #36B78E
square
#4D36B7 #B73660 #A0B736 #36B78E
split-complementary
#4D36B7 #B78E36 #60B736
monochromatic
#251A58 #392888 #4D36B7 #705BCF #998BDD

Accessibility & contrast

On white

8.31
#4D36B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D36B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36B7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36B7#FFFFFF#000000##FFFFFF
##4D36B71.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#115872
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d36b7;
/* rgb */ color: rgb(77, 54, 183);
/* oklch */ color: oklch(44.4% 0.192 283.5);
Tailwind
colors: {
  custom: {
    50: '#8a6fce',
    500: '#4d36b7',
    950: '#000000',
  },
}
SCSS
$custom: #4d36b7;
$custom-light: #8a6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36b7",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 250.698,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.19178,
    "h": 283.5
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#4D36B7
secondary
#BBC782
accent
#DE4AC3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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