#5F35BD#5F35BD

#5F35BD is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.199 H 290.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5F35BD
RGBrgb(95, 53, 189)
HSLhsl(259, 56%, 47%)
HSVhsv(259, 72%, 74%)
CMYKcmyk(49.7%, 72%, 0%, 25.9%)
CIE-LABlab(35.31, 50.10, -64.81)
CIE-LCHlch(35.31, 81.92, 307.70°)
OKLaboklab(46.45% 0.0702 -0.186)
OKLCHoklch(46.45% 0.199 290.7)
XYZxyz(15.1751, 8.6526, 49.0048)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F35BD #93BD35
analogous
#354FBD #5F35BD #A335BD
triadic
#5F35BD #BD5F35 #35BD5F
tetradic
#5F35BD #BD354F #93BD35 #35BDA3
square
#5F35BD #BD354F #93BD35 #35BDA3
split-complementary
#5F35BD #BDA335 #4FBD35
monochromatic
#2F1A5D #47288D #5F35BD #815DD2 #A78DDF

Accessibility & contrast

On white

7.69
#5F35BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5F35BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F35BD
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F35BD#FFFFFF#000000##FFFFFF
##5F35BD1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#3F5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f35bd;
/* rgb */ color: rgb(95, 53, 189);
/* oklch */ color: oklch(46.4% 0.199 290.7);
Tailwind
colors: {
  custom: {
    50: '#9570d2',
    500: '#5f35bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f35bd;
$custom-light: #9570d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f35bd",
  "rgb": {
    "r": 95,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 258.529,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46449,
    "c": 0.19881,
    "h": 290.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#5F35BD
secondary
#B4CA84
accent
#DF48B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F35BD

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

Preview Lab → · Contrast checker → · Palette generator →

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