#5F35BF#5F35BF

#5F35BF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.6% C 0.201 H 290.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5F35BF
RGBrgb(95, 53, 191)
HSLhsl(258, 57%, 48%)
HSVhsv(258, 72%, 75%)
CMYKcmyk(50.3%, 72.3%, 0%, 25.1%)
CIE-LABlab(35.48, 50.65, -65.70)
CIE-LCHlch(35.48, 82.96, 307.63°)
OKLaboklab(46.62% 0.0698 -0.1886)
OKLCHoklch(46.62% 0.201 290.3)
XYZxyz(15.3937, 8.7401, 50.1560)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F35BF #95BF35
analogous
#3550BF #5F35BF #A435BF
triadic
#5F35BF #BF5F35 #35BF5F
tetradic
#5F35BF #BF3550 #95BF35 #35BFA4
square
#5F35BF #BF3550 #95BF35 #35BFA4
split-complementary
#5F35BF #BFA435 #50BF35
monochromatic
#2F1A5F #47288F #5F35BF #825FD3 #A78FE0

Accessibility & contrast

On white

7.64
#5F35BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5F35BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F35BF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F35BF#FFFFFF#000000##FFFFFF
##5F35BF1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#3E5977
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f35bf;
/* rgb */ color: rgb(95, 53, 191);
/* oklch */ color: oklch(46.6% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#9570d3',
    500: '#5f35bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f35bf;
$custom-light: #9570d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f35bf",
  "rgb": {
    "r": 95,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 258.261,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46624,
    "c": 0.20112,
    "h": 290.3
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#5F35BF
secondary
#B5CA85
accent
#E048B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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