#4F35B9#4F35B9

#4F35B9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.195 H 284.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4F35B9
RGBrgb(79, 53, 185)
HSLhsl(252, 55%, 47%)
HSVhsv(252, 71%, 73%)
CMYKcmyk(57.3%, 71.4%, 0%, 27.5%)
CIE-LABlab(33.37, 46.46, -65.68)
CIE-LCHlch(33.37, 80.45, 305.27°)
OKLaboklab(44.59% 0.048 -0.1891)
OKLCHoklch(44.59% 0.195 284.2)
XYZxyz(13.2518, 7.7104, 46.6795)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35B9 #9FB935
analogous
#355DB9 #4F35B9 #9135B9
triadic
#4F35B9 #B94F35 #35B94F
tetradic
#4F35B9 #B9355D #9FB935 #35B991
square
#4F35B9 #B9355D #9FB935 #35B991
split-complementary
#4F35B9 #B99135 #5DB935
monochromatic
#261A5A #3B2789 #4F35B9 #725BD0 #9B8BDE

Accessibility & contrast

On white

8.26
#4F35B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4F35B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35B9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35B9#FFFFFF#000000##FFFFFF
##4F35B91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#175873
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f35b9;
/* rgb */ color: rgb(79, 53, 185);
/* oklch */ color: oklch(44.6% 0.195 284.2);
Tailwind
colors: {
  custom: {
    50: '#8c6fcf',
    500: '#4f35b9',
    950: '#000000',
  },
}
SCSS
$custom: #4f35b9;
$custom-light: #8c6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35b9",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 251.818,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.19508,
    "h": 284.2
  },
  "luminance": 0.07711
}

Semantic roles & 50–950 ramp

primary
#4F35B9
secondary
#BAC882
accent
#DF49C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4F35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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