#4F35C9#4F35C9

#4F35C9 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.214 H 282.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4F35C9
RGBrgb(79, 53, 201)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 74%, 79%)
CMYKcmyk(60.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(34.85, 51.23, -72.64)
CIE-LCHlch(34.85, 88.89, 305.20°)
OKLaboklab(46.09% 0.0445 -0.2095)
OKLCHoklch(46.09% 0.214 282)
XYZxyz(15.0369, 8.4245, 56.0807)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35C9 #AFC935
analogous
#3565C9 #4F35C9 #9935C9
triadic
#4F35C9 #C94F35 #35C94F
tetradic
#4F35C9 #C93565 #AFC935 #35C999
square
#4F35C9 #C93565 #AFC935 #35C999
split-complementary
#4F35C9 #C99935 #65C935
monochromatic
#291B68 #3C2899 #4F35C9 #7965D6 #A395E3

Accessibility & contrast

On white

7.82
#4F35C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4F35C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35C9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35C9#FFFFFF#000000##FFFFFF
##4F35C91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f35c9;
/* rgb */ color: rgb(79, 53, 201);
/* oklch */ color: oklch(46.1% 0.214 282.0);
Tailwind
colors: {
  custom: {
    50: '#8e6fdb',
    500: '#4f35c9',
    950: '#000000',
  },
}
SCSS
$custom: #4f35c9;
$custom-light: #8e6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35c9",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 250.541,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.21414,
    "h": 282
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#4F35C9
secondary
#C3CE8B
accent
#E146C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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