#4F36C0#4F36C0

#4F36C0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.202 H 283.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4F36C0
RGBrgb(79, 54, 192)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(58.9%, 71.9%, 0%, 24.7%)
CIE-LABlab(34.20, 48.02, -68.45)
CIE-LCHlch(34.20, 83.61, 305.05°)
OKLaboklab(45.37% 0.0458 -0.1972)
OKLCHoklch(45.37% 0.202 283.1)
XYZxyz(14.0551, 8.1054, 50.6828)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36C0 #A7C036
analogous
#3662C0 #4F36C0 #9436C0
triadic
#4F36C0 #C04F36 #36C04F
tetradic
#4F36C0 #C03662 #A7C036 #36C094
square
#4F36C0 #C03662 #A7C036 #36C094
split-complementary
#4F36C0 #C09436 #62C036
monochromatic
#281B60 #3B2990 #4F36C0 #7561D2 #9F90E0

Accessibility & contrast

On white

8.01
#4F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4F36C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36C0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36C0#FFFFFF#000000##FFFFFF
##4F36C01.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#045C77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f36c0;
/* rgb */ color: rgb(79, 54, 192);
/* oklch */ color: oklch(45.4% 0.202 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d70d4',
    500: '#4f36c0',
    950: '#000000',
  },
}
SCSS
$custom: #4f36c0;
$custom-light: #8d70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36c0",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 250.87,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.20243,
    "h": 283.1
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#4F36C0
secondary
#BECB87
accent
#DF48C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4F36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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