#4F36CA#4F36CA

#4F36CA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.214 H 281.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4F36CA
RGBrgb(79, 54, 202)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 73%, 79%)
CMYKcmyk(60.9%, 73.3%, 0%, 20.8%)
CIE-LABlab(35.13, 51.01, -72.77)
CIE-LCHlch(35.13, 88.87, 305.03°)
OKLaboklab(46.31% 0.0436 -0.2098)
OKLCHoklch(46.31% 0.214 281.7)
XYZxyz(15.2009, 8.5638, 56.7176)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36CA #B1CA36
analogous
#3667CA #4F36CA #9936CA
triadic
#4F36CA #CA4F36 #36CA4F
tetradic
#4F36CA #CA3667 #B1CA36 #36CA99
square
#4F36CA #CA3667 #B1CA36 #36CA99
split-complementary
#4F36CA #CA9936 #67CA36
monochromatic
#291C6A #3C299A #4F36CA #7966D7 #A497E4

Accessibility & contrast

On white

7.74
#4F36CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F36CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36CA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36CA#FFFFFF#000000##FFFFFF
##4F36CA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f36ca;
/* rgb */ color: rgb(79, 54, 202);
/* oklch */ color: oklch(46.3% 0.214 281.7);
Tailwind
colors: {
  custom: {
    50: '#8f70db',
    500: '#4f36ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f36ca;
$custom-light: #8f70db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36ca",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 250.135,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46314,
    "c": 0.21432,
    "h": 281.7
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#4F36CA
secondary
#C4CF8D
accent
#E146C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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