#4F36C3#4F36C3

#4F36C3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.206 H 282.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4F36C3
RGBrgb(79, 54, 195)
HSLhsl(251, 57%, 49%)
HSVhsv(251, 72%, 76%)
CMYKcmyk(59.5%, 72.3%, 0%, 23.5%)
CIE-LABlab(34.48, 48.92, -69.75)
CIE-LCHlch(34.48, 85.20, 305.04°)
OKLaboklab(45.65% 0.0452 -0.201)
OKLCHoklch(45.65% 0.206 282.7)
XYZxyz(14.3909, 8.2398, 52.4513)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F36C3 #AAC336
analogous
#3664C3 #4F36C3 #9636C3
triadic
#4F36C3 #C34F36 #36C34F
tetradic
#4F36C3 #C33664 #AAC336 #36C396
square
#4F36C3 #C33664 #AAC336 #36C396
split-complementary
#4F36C3 #C39636 #64C336
monochromatic
#281B63 #3C2993 #4F36C3 #7763D4 #A092E1

Accessibility & contrast

On white

7.93
#4F36C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4F36C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F36C3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F36C3#FFFFFF#000000##FFFFFF
##4F36C31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f36c3;
/* rgb */ color: rgb(79, 54, 195);
/* oklch */ color: oklch(45.7% 0.206 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d70d6',
    500: '#4f36c3',
    950: '#000000',
  },
}
SCSS
$custom: #4f36c3;
$custom-light: #8d70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f36c3",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 250.638,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.20602,
    "h": 282.7
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#4F36C3
secondary
#C0CC89
accent
#E048C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #4F36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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