#5F3BBF#5F3BBF

#5F3BBF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.194 H 289.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5F3BBF
RGBrgb(95, 59, 191)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(50.3%, 69.1%, 0%, 25.1%)
CIE-LABlab(36.60, 47.54, -63.88)
CIE-LCHlch(36.60, 79.63, 306.66°)
OKLaboklab(47.42% 0.0644 -0.1833)
OKLCHoklch(47.42% 0.194 289.4)
XYZxyz(15.6845, 9.3217, 50.2530)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3BBF #9BBF3B
analogous
#3B59BF #5F3BBF #A13BBF
triadic
#5F3BBF #BF5F3B #3BBF5F
tetradic
#5F3BBF #BF3B59 #9BBF3B #3BBFA1
square
#5F3BBF #BF3B59 #9BBF3B #3BBFA1
split-complementary
#5F3BBF #BFA13B #59BF3B
monochromatic
#301E61 #482D90 #5F3BBF #8467D0 #AA96DF

Accessibility & contrast

On white

7.33
#5F3BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5F3BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3BBF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3BBF#FFFFFF#000000##FFFFFF
##5F3BBF1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#3D5D78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f3bbf;
/* rgb */ color: rgb(95, 59, 191);
/* oklch */ color: oklch(47.4% 0.194 289.4);
Tailwind
colors: {
  custom: {
    50: '#9574d3',
    500: '#5f3bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5f3bbf;
$custom-light: #9574d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3bbf",
  "rgb": {
    "r": 95,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 256.364,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.19428,
    "h": 289.4
  },
  "luminance": 0.09322
}

Semantic roles & 50–950 ramp

primary
#5F3BBF
secondary
#B9CA8C
accent
#DC4CB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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