#4D36C0#4D36C0

#4D36C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.203 H 282.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4D36C0
RGBrgb(77, 54, 192)
HSLhsl(250, 56%, 48%)
HSVhsv(250, 72%, 75%)
CMYKcmyk(59.9%, 71.9%, 0%, 24.7%)
CIE-LABlab(34.03, 47.74, -68.74)
CIE-LCHlch(34.03, 83.69, 304.78°)
OKLaboklab(45.21% 0.043 -0.1981)
OKLCHoklch(45.21% 0.203 282.2)
XYZxyz(13.8912, 8.0209, 50.6751)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36C0 #A9C036
analogous
#3664C0 #4D36C0 #9236C0
triadic
#4D36C0 #C04D36 #36C04D
tetradic
#4D36C0 #C03664 #A9C036 #36C092
square
#4D36C0 #C03664 #A9C036 #36C092
split-complementary
#4D36C0 #C09236 #64C036
monochromatic
#271B60 #3A2990 #4D36C0 #7461D2 #9E90E0

Accessibility & contrast

On white

8.06
#4D36C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D36C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D36C0
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36C0#FFFFFF#000000##FFFFFF
##4D36C01.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d36c0;
/* rgb */ color: rgb(77, 54, 192);
/* oklch */ color: oklch(45.2% 0.203 282.2);
Tailwind
colors: {
  custom: {
    50: '#8c70d4',
    500: '#4d36c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d36c0;
$custom-light: #8c70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36c0",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 250,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.20272,
    "h": 282.2
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#4D36C0
secondary
#BFCB87
accent
#DF48C6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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