#4F35CF#4F35CF

#4F35CF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.221 H 281.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4F35CF
RGBrgb(79, 53, 207)
HSLhsl(250, 62%, 51%)
HSVhsv(250, 74%, 81%)
CMYKcmyk(61.8%, 74.4%, 0%, 18.8%)
CIE-LABlab(35.42, 53.01, -75.19)
CIE-LCHlch(35.42, 92.00, 305.19°)
OKLaboklab(46.67% 0.0432 -0.2169)
OKLCHoklch(46.67% 0.221 281.3)
XYZxyz(15.7565, 8.7123, 59.8707)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35CF #B5CF35
analogous
#3568CF #4F35CF #9C35CF
triadic
#4F35CF #CF4F35 #35CF4F
tetradic
#4F35CF #CF3568 #B5CF35 #35CF9C
square
#4F35CF #CF3568 #B5CF35 #35CF9C
split-complementary
#4F35CF #CF9C35 #68CF35
monochromatic
#291A6F #3B26A1 #4F35CF #7A66DB #A598E7

Accessibility & contrast

On white

7.66
#4F35CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4F35CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35CF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35CF#FFFFFF#000000##FFFFFF
##4F35CF1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#006180
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f35cf;
/* rgb */ color: rgb(79, 53, 207);
/* oklch */ color: oklch(46.7% 0.221 281.3);
Tailwind
colors: {
  custom: {
    50: '#8f70df',
    500: '#4f35cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f35cf;
$custom-light: #8f70df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35cf",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 250.13,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.22114,
    "h": 281.3
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#4F35CF
secondary
#C6D28E
accent
#E543C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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