#5F3ABE#5F3ABE

#5F3ABE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.194 H 289.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5F3ABE
RGBrgb(95, 58, 190)
HSLhsl(257, 53%, 49%)
HSVhsv(257, 69%, 75%)
CMYKcmyk(50%, 69.5%, 0%, 25.5%)
CIE-LABlab(36.32, 47.79, -63.74)
CIE-LCHlch(36.32, 79.67, 306.86°)
OKLaboklab(47.2% 0.0655 -0.1829)
OKLCHoklch(47.2% 0.194 289.7)
XYZxyz(15.5240, 9.1761, 49.6584)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3ABE #99BE3A
analogous
#3A57BE #5F3ABE #A13ABE
triadic
#5F3ABE #BE5F3A #3ABE5F
tetradic
#5F3ABE #BE3A57 #99BE3A #3ABEA1
square
#5F3ABE #BE3A57 #99BE3A #3ABEA1
split-complementary
#5F3ABE #BEA13A #57BE3A
monochromatic
#301D60 #482C8F #5F3ABE #8365D0 #A994DE

Accessibility & contrast

On white

7.41
#5F3ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5F3ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3ABE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3ABE#FFFFFF#000000##FFFFFF
##5F3ABE1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#3E5C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f3abe;
/* rgb */ color: rgb(95, 58, 190);
/* oklch */ color: oklch(47.2% 0.194 289.7);
Tailwind
colors: {
  custom: {
    50: '#9573d3',
    500: '#5f3abe',
    950: '#000000',
  },
}
SCSS
$custom: #5f3abe;
$custom-light: #9573d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3abe",
  "rgb": {
    "r": 95,
    "g": 58,
    "b": 190
  },
  "hsl": {
    "h": 256.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47197,
    "c": 0.19426,
    "h": 289.7
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#5F3ABE
secondary
#B8CA8A
accent
#DD4BB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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