#4F35BF#4F35BF

#4F35BF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.1% C 0.202 H 283.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4F35BF
RGBrgb(79, 53, 191)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(58.6%, 72.3%, 0%, 25.1%)
CIE-LABlab(33.92, 48.25, -68.32)
CIE-LCHlch(33.92, 83.64, 305.23°)
OKLaboklab(45.15% 0.0467 -0.1968)
OKLCHoklch(45.15% 0.202 283.4)
XYZxyz(13.8986, 7.9692, 50.0859)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BF #A5BF35
analogous
#3560BF #4F35BF #9435BF
triadic
#4F35BF #BF4F35 #35BF4F
tetradic
#4F35BF #BF3560 #A5BF35 #35BF94
square
#4F35BF #BF3560 #A5BF35 #35BF94
split-complementary
#4F35BF #BF9435 #60BF35
monochromatic
#271A5F #3B288F #4F35BF #755FD3 #9E8FE0

Accessibility & contrast

On white

8.10
#4F35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4F35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35BF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BF#FFFFFF#000000##FFFFFF
##4F35BF1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#085B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f35bf;
/* rgb */ color: rgb(79, 53, 191);
/* oklch */ color: oklch(45.1% 0.202 283.4);
Tailwind
colors: {
  custom: {
    50: '#8d6fd3',
    500: '#4f35bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f35bf;
$custom-light: #8d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35bf",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 251.304,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.20229,
    "h": 283.4
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#4F35BF
secondary
#BDCA85
accent
#E048C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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