#4F35BB#4F35BB

#4F35BB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.197 H 283.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4F35BB
RGBrgb(79, 53, 187)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 73%)
CMYKcmyk(57.8%, 71.7%, 0%, 26.7%)
CIE-LABlab(33.55, 47.06, -66.57)
CIE-LCHlch(33.55, 81.52, 305.26°)
OKLaboklab(44.77% 0.0476 -0.1917)
OKLCHoklch(44.77% 0.197 283.9)
XYZxyz(13.4644, 7.7955, 47.7993)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BB #A1BB35
analogous
#355EBB #4F35BB #9235BB
triadic
#4F35BB #BB4F35 #35BB4F
tetradic
#4F35BB #BB355E #A1BB35 #35BB92
square
#4F35BB #BB355E #A1BB35 #35BB92
split-complementary
#4F35BB #BB9235 #5EBB35
monochromatic
#271A5C #3B278B #4F35BB #735CD1 #9C8CDE

Accessibility & contrast

On white

8.21
#4F35BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4F35BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35BB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BB#FFFFFF#000000##FFFFFF
##4F35BB1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#135974
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f35bb;
/* rgb */ color: rgb(79, 53, 187);
/* oklch */ color: oklch(44.8% 0.197 283.9);
Tailwind
colors: {
  custom: {
    50: '#8c6fd1',
    500: '#4f35bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f35bb;
$custom-light: #8c6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35bb",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 251.642,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.19749,
    "h": 283.9
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#4F35BB
secondary
#BBC983
accent
#DF49C2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4F35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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