#5F3FBF#5F3FBF

#5F3FBF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.189 H 288.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5F3FBF
RGBrgb(95, 63, 191)
HSLhsl(255, 50%, 50%)
HSVhsv(255, 67%, 75%)
CMYKcmyk(50.3%, 67%, 0%, 25.1%)
CIE-LABlab(37.39, 45.37, -62.59)
CIE-LCHlch(37.39, 77.30, 305.94°)
OKLaboklab(47.99% 0.0606 -0.1795)
OKLCHoklch(47.99% 0.189 288.7)
XYZxyz(15.8981, 9.7488, 50.3241)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3FBF #9FBF3F
analogous
#3F5FBF #5F3FBF #9F3FBF
triadic
#5F3FBF #BF5F3F #3FBF5F
tetradic
#5F3FBF #BF3F5F #9FBF3F #3FBF9F
square
#5F3FBF #BF3F5F #9FBF3F #3FBF9F
split-complementary
#5F3FBF #BF9F3F #5FBF3F
monochromatic
#312163 #483091 #5F3FBF #856DCF #AB9BDE

Accessibility & contrast

On white

7.12
#5F3FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5F3FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3FBF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3FBF#FFFFFF#000000##FFFFFF
##5F3FBF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#3D5F7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f3fbf;
/* rgb */ color: rgb(95, 63, 191);
/* oklch */ color: oklch(48.0% 0.189 288.7);
Tailwind
colors: {
  custom: {
    50: '#9576d3',
    500: '#5f3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #5f3fbf;
$custom-light: #9576d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3fbf",
  "rgb": {
    "r": 95,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 255,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47987,
    "c": 0.18946,
    "h": 288.7
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#5F3FBF
secondary
#BBCA90
accent
#DA4EB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5F3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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