#4F35CC#4F35CC

#4F35CC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.218 H 281.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4F35CC
RGBrgb(79, 53, 204)
HSLhsl(250, 60%, 50%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(61.3%, 74%, 0%, 20%)
CIE-LABlab(35.14, 52.12, -73.92)
CIE-LCHlch(35.14, 90.45, 305.19°)
OKLaboklab(46.38% 0.0439 -0.2132)
OKLCHoklch(46.38% 0.218 281.6)
XYZxyz(15.3932, 8.5670, 57.9575)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35CC #B2CC35
analogous
#3566CC #4F35CC #9A35CC
triadic
#4F35CC #CC4F35 #35CC4F
tetradic
#4F35CC #CC3566 #B2CC35 #35CC9A
square
#4F35CC #CC3566 #B2CC35 #35CC9A
split-complementary
#4F35CC #CC9A35 #66CC35
monochromatic
#291B6B #3C279C #4F35CC #7A66D8 #A497E5

Accessibility & contrast

On white

7.74
#4F35CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4F35CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35CC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35CC#FFFFFF#000000##FFFFFF
##4F35CC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f35cc;
/* rgb */ color: rgb(79, 53, 204);
/* oklch */ color: oklch(46.4% 0.218 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f70dd',
    500: '#4f35cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f35cc;
$custom-light: #8f70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35cc",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 250.331,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.21765,
    "h": 281.6
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#4F35CC
secondary
#C4D08D
accent
#E345C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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