#4F36BB#4F36BB

#4F36BB is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.196 H 283.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F36BB
RGBrgb(79, 54, 187)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 73%)
CMYKcmyk(57.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(33.75, 46.51, -66.25)
CIE-LCHlch(33.75, 80.95, 305.07°)
OKLaboklab(44.91% 0.0468 -0.1907)
OKLCHoklch(44.91% 0.196 283.8)
XYZxyz(13.5105, 7.8876, 47.8146)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BB #A2BB36
analogous
#3660BB #4F36BB #9136BB
triadic
#4F36BB #BB4F36 #36BB4F
tetradic
#4F36BB #BB3660 #A2BB36 #36BB91
square
#4F36BB #BB3660 #A2BB36 #36BB91
split-complementary
#4F36BB #BB9136 #60BB36
monochromatic
#271B5C #3B288C #4F36BB #735ED0 #9C8DDE

Accessibility & contrast

On white

8.15
#4F36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36BB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BB#FFFFFF#000000##FFFFFF
##4F36BB1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#135A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f36bb;
/* rgb */ color: rgb(79, 54, 187);
/* oklch */ color: oklch(44.9% 0.196 283.8);
Tailwind
colors: {
  custom: {
    50: '#8c6fd1',
    500: '#4f36bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f36bb;
$custom-light: #8c6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36bb",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 251.278,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.1964,
    "h": 283.8
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#4F36BB
secondary
#BCC984
accent
#DF49C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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