#4D36B8#4D36B8

#4D36B8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.193 H 283.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4D36B8
RGBrgb(77, 54, 184)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 72%)
CMYKcmyk(58.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(33.30, 45.31, -65.22)
CIE-LCHlch(33.30, 79.41, 304.79°)
OKLaboklab(44.47% 0.0445 -0.1878)
OKLCHoklch(44.47% 0.193 283.3)
XYZxyz(13.0288, 7.6760, 46.1332)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D36B8 #A1B836
analogous
#3660B8 #4D36B8 #8E36B8
triadic
#4D36B8 #B84D36 #36B84D
tetradic
#4D36B8 #B83660 #A1B836 #36B88E
square
#4D36B8 #B83660 #A1B836 #36B88E
split-complementary
#4D36B8 #B88E36 #60B836
monochromatic
#251A59 #392889 #4D36B8 #705CCF #9A8BDD

Accessibility & contrast

On white

8.28
#4D36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D36B8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D36B8#FFFFFF#000000##FFFFFF
##4D36B81.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#0F5973
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d36b8;
/* rgb */ color: rgb(77, 54, 184);
/* oklch */ color: oklch(44.5% 0.193 283.3);
Tailwind
colors: {
  custom: {
    50: '#8a6fce',
    500: '#4d36b8',
    950: '#000000',
  },
}
SCSS
$custom: #4d36b8;
$custom-light: #8a6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#4d36b8",
  "rgb": {
    "r": 77,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 250.615,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.19301,
    "h": 283.3
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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