#4F35BD#4F35BD

#4F35BD is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.200 H 283.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4F35BD
RGBrgb(79, 53, 189)
HSLhsl(251, 56%, 47%)
HSVhsv(251, 72%, 74%)
CMYKcmyk(58.2%, 72%, 0%, 25.9%)
CIE-LABlab(33.74, 47.65, -67.45)
CIE-LCHlch(33.74, 82.58, 305.24°)
OKLaboklab(44.96% 0.0472 -0.1943)
OKLCHoklch(44.96% 0.2 283.6)
XYZxyz(13.6800, 7.8817, 48.9347)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BD #A3BD35
analogous
#355FBD #4F35BD #9335BD
triadic
#4F35BD #BD4F35 #35BD4F
tetradic
#4F35BD #BD355F #A3BD35 #35BD93
square
#4F35BD #BD355F #A3BD35 #35BD93
split-complementary
#4F35BD #BD9335 #5FBD35
monochromatic
#271A5D #3B288D #4F35BD #745DD2 #9D8DDF

Accessibility & contrast

On white

8.15
#4F35BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4F35BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35BD
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BD#FFFFFF#000000##FFFFFF
##4F35BD1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#0E5A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f35bd;
/* rgb */ color: rgb(79, 53, 189);
/* oklch */ color: oklch(45.0% 0.200 283.6);
Tailwind
colors: {
  custom: {
    50: '#8c6fd2',
    500: '#4f35bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f35bd;
$custom-light: #8c6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35bd",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 251.471,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44959,
    "c": 0.1999,
    "h": 283.6
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#4F35BD
secondary
#BCCA84
accent
#DF48C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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