#4F36BC#4F36BC

#4F36BC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.198 H 283.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4F36BC
RGBrgb(79, 54, 188)
HSLhsl(251, 55%, 47%)
HSVhsv(251, 71%, 74%)
CMYKcmyk(58%, 71.3%, 0%, 26.3%)
CIE-LABlab(33.84, 46.82, -66.69)
CIE-LCHlch(33.84, 81.48, 305.07°)
OKLaboklab(45% 0.0466 -0.192)
OKLCHoklch(45% 0.198 283.6)
XYZxyz(13.6179, 7.9306, 48.3804)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BC #A3BC36
analogous
#3660BC #4F36BC #9236BC
triadic
#4F36BC #BC4F36 #36BC4F
tetradic
#4F36BC #BC3660 #A3BC36 #36BC92
square
#4F36BC #BC3660 #A3BC36 #36BC92
split-complementary
#4F36BC #BC9236 #60BC36
monochromatic
#271B5D #3B288C #4F36BC #745ED1 #9D8EDF

Accessibility & contrast

On white

8.12
#4F36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F36BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36BC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BC#FFFFFF#000000##FFFFFF
##4F36BC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#115A75
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f36bc;
/* rgb */ color: rgb(79, 54, 188);
/* oklch */ color: oklch(45.0% 0.198 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c70d1',
    500: '#4f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f36bc;
$custom-light: #8c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36bc",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 251.194,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.19761,
    "h": 283.6
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#4F36BC
secondary
#BCC985
accent
#DF49C3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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