#4F35BE#4F35BE

#4F35BE is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.201 H 283.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4F35BE
RGBrgb(79, 53, 190)
HSLhsl(251, 56%, 48%)
HSVhsv(251, 72%, 75%)
CMYKcmyk(58.4%, 72.1%, 0%, 25.5%)
CIE-LABlab(33.83, 47.95, -67.88)
CIE-LCHlch(33.83, 83.11, 305.24°)
OKLaboklab(45.05% 0.047 -0.1955)
OKLCHoklch(45.05% 0.201 283.5)
XYZxyz(13.7890, 7.9253, 49.5083)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35BE #A4BE35
analogous
#355FBE #4F35BE #9435BE
triadic
#4F35BE #BE4F35 #35BE4F
tetradic
#4F35BE #BE355F #A4BE35 #35BE94
square
#4F35BE #BE355F #A4BE35 #35BE94
split-complementary
#4F35BE #BE9435 #5FBE35
monochromatic
#271A5E #3B288E #4F35BE #745ED2 #9D8EDF

Accessibility & contrast

On white

8.12
#4F35BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F35BE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35BE#FFFFFF#000000##FFFFFF
##4F35BE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#0B5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4f35be;
/* rgb */ color: rgb(79, 53, 190);
/* oklch */ color: oklch(45.1% 0.201 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fd3',
    500: '#4f35be',
    950: '#000000',
  },
}
SCSS
$custom: #4f35be;
$custom-light: #8d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35be",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 251.387,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.2011,
    "h": 283.5
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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