#4F35C5#4F35C5

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

Color values

HEX#4F35C5
RGBrgb(79, 53, 197)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 77%)
CMYKcmyk(59.9%, 73.1%, 0%, 22.7%)
CIE-LABlab(34.48, 50.04, -70.93)
CIE-LCHlch(34.48, 86.80, 305.21°)
OKLaboklab(45.71% 0.0454 -0.2044)
OKLCHoklch(45.71% 0.209 282.5)
XYZxyz(14.5725, 8.2387, 53.6348)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35C5 #ABC535
analogous
#3563C5 #4F35C5 #9735C5
triadic
#4F35C5 #C54F35 #35C54F
tetradic
#4F35C5 #C53563 #ABC535 #35C597
square
#4F35C5 #C53563 #ABC535 #35C597
split-complementary
#4F35C5 #C59735 #63C535
monochromatic
#281B65 #3C2895 #4F35C5 #7762D5 #A193E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F35C5#FFFFFF#000000##FFFFFF
##4F35C51.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)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4f35c5;
/* rgb */ color: rgb(79, 53, 197);
/* oklch */ color: oklch(45.7% 0.209 282.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fd8',
    500: '#4f35c5',
    950: '#000000',
  },
}
SCSS
$custom: #4f35c5;
$custom-light: #8e6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35c5",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 250.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45708,
    "c": 0.20943,
    "h": 282.5
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#4F35C5
secondary
#C1CD89
accent
#E147C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4F35C5

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

Preview Lab → · Contrast checker → · Palette generator →

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