#4F35C7#4F35C7

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

Color values

HEX#4F35C7
RGBrgb(79, 53, 199)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 78%)
CMYKcmyk(60.3%, 73.4%, 0%, 22%)
CIE-LABlab(34.66, 50.64, -71.79)
CIE-LCHlch(34.66, 87.85, 305.20°)
OKLaboklab(45.9% 0.045 -0.2069)
OKLCHoklch(45.9% 0.212 282.3)
XYZxyz(14.8031, 8.3310, 54.8497)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35C7 #ADC735
analogous
#3564C7 #4F35C7 #9835C7
triadic
#4F35C7 #C74F35 #35C74F
tetradic
#4F35C7 #C73564 #ADC735 #35C798
square
#4F35C7 #C73564 #ADC735 #35C798
split-complementary
#4F35C7 #C79835 #64C735
monochromatic
#291B66 #3C2897 #4F35C7 #7864D6 #A294E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F35C7#FFFFFF#000000##FFFFFF
##4F35C71.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)
#0056CB
Deuteranopia (green-blind)
#004CC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f35c7;
/* rgb */ color: rgb(79, 53, 199);
/* oklch */ color: oklch(45.9% 0.212 282.3);
Tailwind
colors: {
  custom: {
    50: '#8e6fd9',
    500: '#4f35c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f35c7;
$custom-light: #8e6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35c7",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 250.685,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.21179,
    "h": 282.3
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F35C7

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

Preview Lab → · Contrast checker → · Palette generator →

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