#4F36C5#4F36C5

#4F36C5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.208 H 282.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4F36C5
RGBrgb(79, 54, 197)
HSLhsl(250, 57%, 49%)
HSVhsv(250, 73%, 77%)
CMYKcmyk(59.9%, 72.6%, 0%, 22.7%)
CIE-LABlab(34.66, 49.52, -70.62)
CIE-LCHlch(34.66, 86.25, 305.04°)
OKLaboklab(45.84% 0.0447 -0.2035)
OKLCHoklch(45.84% 0.208 282.4)
XYZxyz(14.6185, 8.3308, 53.6502)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36C5 #ACC536
analogous
#3664C5 #4F36C5 #9736C5
triadic
#4F36C5 #C54F36 #36C54F
tetradic
#4F36C5 #C53664 #ACC536 #36C597
square
#4F36C5 #C53664 #ACC536 #36C597
split-complementary
#4F36C5 #C59736 #64C536
monochromatic
#281C65 #3C2995 #4F36C5 #7764D4 #A194E2

Accessibility & contrast

On white

7.88
#4F36C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4F36C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36C5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36C5#FFFFFF#000000##FFFFFF
##4F36C51.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f36c5;
/* rgb */ color: rgb(79, 54, 197);
/* oklch */ color: oklch(45.8% 0.208 282.4);
Tailwind
colors: {
  custom: {
    50: '#8e70d8',
    500: '#4f36c5',
    950: '#000000',
  },
}
SCSS
$custom: #4f36c5;
$custom-light: #8e70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36c5",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 250.49,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45841,
    "c": 0.20839,
    "h": 282.4
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#4F36C5
secondary
#C1CD8A
accent
#E048C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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