#4F35CA#4F35CA

#4F35CA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.215 H 281.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4F35CA
RGBrgb(79, 53, 202)
HSLhsl(250, 58%, 50%)
HSVhsv(250, 74%, 79%)
CMYKcmyk(60.9%, 73.8%, 0%, 20.8%)
CIE-LABlab(34.95, 51.53, -73.07)
CIE-LCHlch(34.95, 89.41, 305.19°)
OKLaboklab(46.18% 0.0443 -0.2107)
OKLCHoklch(46.18% 0.215 281.9)
XYZxyz(15.1549, 8.4717, 56.7023)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35CA #B0CA35
analogous
#3565CA #4F35CA #9A35CA
triadic
#4F35CA #CA4F35 #35CA4F
tetradic
#4F35CA #CA3565 #B0CA35 #35CA9A
square
#4F35CA #CA3565 #B0CA35 #35CA9A
split-complementary
#4F35CA #CA9A35 #65CA35
monochromatic
#291C69 #3C289A #4F35CA #7965D7 #A396E3

Accessibility & contrast

On white

7.79
#4F35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F35CA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35CA#FFFFFF#000000##FFFFFF
##4F35CA1.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4f35ca;
/* rgb */ color: rgb(79, 53, 202);
/* oklch */ color: oklch(46.2% 0.215 281.9);
Tailwind
colors: {
  custom: {
    50: '#8f6fdb',
    500: '#4f35ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f35ca;
$custom-light: #8f6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35ca",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 250.47,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.21531,
    "h": 281.9
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#4F35CA
secondary
#C3CF8C
accent
#E246C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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