#5F3FC0#5F3FC0

#5F3FC0 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.191 H 288.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5F3FC0
RGBrgb(95, 63, 192)
HSLhsl(255, 51%, 50%)
HSVhsv(255, 67%, 75%)
CMYKcmyk(50.5%, 67.2%, 0%, 24.7%)
CIE-LABlab(37.47, 45.66, -63.04)
CIE-LCHlch(37.47, 77.84, 305.92°)
OKLaboklab(48.07% 0.0604 -0.1808)
OKLCHoklch(48.07% 0.191 288.5)
XYZxyz(16.0085, 9.7930, 50.9057)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3FC0 #A0C03F
analogous
#3F5FC0 #5F3FC0 #A03FC0
triadic
#5F3FC0 #C05F3F #3FC05F
tetradic
#5F3FC0 #C03F5F #A0C03F #3FC0A0
square
#5F3FC0 #C03F5F #A0C03F #3FC0A0
split-complementary
#5F3FC0 #C0A03F #5FC03F
monochromatic
#312164 #483092 #5F3FC0 #856DCF #AC9BDE

Accessibility & contrast

On white

7.10
#5F3FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5F3FC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3FC0
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3FC0#FFFFFF#000000##FFFFFF
##5F3FC01.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#3C5F7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f3fc0;
/* rgb */ color: rgb(95, 63, 192);
/* oklch */ color: oklch(48.1% 0.191 288.5);
Tailwind
colors: {
  custom: {
    50: '#9576d4',
    500: '#5f3fc0',
    950: '#000000',
  },
}
SCSS
$custom: #5f3fc0;
$custom-light: #9576d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3fc0",
  "rgb": {
    "r": 95,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 254.884,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.4807,
    "c": 0.19068,
    "h": 288.5
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F3FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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