#4F36C6#4F36C6

#4F36C6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 45.9% C 0.210 H 282.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#4F36C6
RGBrgb(79, 54, 198)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(60.1%, 72.7%, 0%, 22.4%)
CIE-LABlab(34.76, 49.82, -71.05)
CIE-LCHlch(34.76, 86.77, 305.04°)
OKLaboklab(45.93% 0.0445 -0.2048)
OKLCHoklch(45.93% 0.21 282.3)
XYZxyz(14.7335, 8.3768, 54.2556)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36C6 #ADC636
analogous
#3665C6 #4F36C6 #9736C6
triadic
#4F36C6 #C64F36 #36C64F
tetradic
#4F36C6 #C63665 #ADC636 #36C697
square
#4F36C6 #C63665 #ADC636 #36C697
split-complementary
#4F36C6 #C69736 #65C636
monochromatic
#291C66 #3C2996 #4F36C6 #7864D5 #A294E2

Accessibility & contrast

On white

7.85
#4F36C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4F36C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36C6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36C6#FFFFFF#000000##FFFFFF
##4F36C61.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f36c6;
/* rgb */ color: rgb(79, 54, 198);
/* oklch */ color: oklch(45.9% 0.210 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e70d8',
    500: '#4f36c6',
    950: '#000000',
  },
}
SCSS
$custom: #4f36c6;
$custom-light: #8e70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36c6",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 250.417,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.20959,
    "h": 282.3
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#4F36C6
secondary
#C2CD8B
accent
#E047C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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