#4F36BD#4F36BD

#4F36BD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.199 H 283.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4F36BD
RGBrgb(79, 54, 189)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 71%, 74%)
CMYKcmyk(58.2%, 71.4%, 0%, 25.9%)
CIE-LABlab(33.93, 47.12, -67.13)
CIE-LCHlch(33.93, 82.01, 305.06°)
OKLaboklab(45.1% 0.0464 -0.1933)
OKLCHoklch(45.1% 0.199 283.5)
XYZxyz(13.7261, 7.9738, 48.9501)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36BD #A4BD36
analogous
#3660BD #4F36BD #9236BD
triadic
#4F36BD #BD4F36 #36BD4F
tetradic
#4F36BD #BD3660 #A4BD36 #36BD92
square
#4F36BD #BD3660 #A4BD36 #36BD92
split-complementary
#4F36BD #BD9236 #60BD36
monochromatic
#271B5E #3B288D #4F36BD #745FD1 #9D8FDF

Accessibility & contrast

On white

8.09
#4F36BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F36BD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36BD#FFFFFF#000000##FFFFFF
##4F36BD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#0E5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f36bd;
/* rgb */ color: rgb(79, 54, 189);
/* oklch */ color: oklch(45.1% 0.199 283.5);
Tailwind
colors: {
  custom: {
    50: '#8c70d2',
    500: '#4f36bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f36bd;
$custom-light: #8c70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36bd",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 251.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.19882,
    "h": 283.5
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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