#4F36C7#4F36C7

#4F36C7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.211 H 282.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4F36C7
RGBrgb(79, 54, 199)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 73%, 78%)
CMYKcmyk(60.3%, 72.9%, 0%, 22%)
CIE-LABlab(34.85, 50.12, -71.48)
CIE-LCHlch(34.85, 87.30, 305.04°)
OKLaboklab(46.03% 0.0443 -0.2061)
OKLCHoklch(46.03% 0.211 282.1)
XYZxyz(14.8492, 8.4231, 54.8651)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36C7 #AEC736
analogous
#3666C7 #4F36C7 #9836C7
triadic
#4F36C7 #C74F36 #36C74F
tetradic
#4F36C7 #C73666 #AEC736 #36C798
square
#4F36C7 #C73666 #AEC736 #36C798
split-complementary
#4F36C7 #C79836 #66C736
monochromatic
#291C67 #3C2997 #4F36C7 #7865D5 #A295E2

Accessibility & contrast

On white

7.82
#4F36C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F36C7
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36C7#FFFFFF#000000##FFFFFF
##4F36C71.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f36c7;
/* rgb */ color: rgb(79, 54, 199);
/* oklch */ color: oklch(46.0% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#8e70d9',
    500: '#4f36c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f36c7;
$custom-light: #8e70d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36c7",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 250.345,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4603,
    "c": 0.21078,
    "h": 282.1
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#4F36C7
secondary
#C2CE8B
accent
#E147C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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