#5F3ABD#5F3ABD

#5F3ABD is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.193 H 289.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5F3ABD
RGBrgb(95, 58, 189)
HSLhsl(257, 53%, 48%)
HSVhsv(257, 69%, 74%)
CMYKcmyk(49.7%, 69.3%, 0%, 25.9%)
CIE-LABlab(36.24, 47.51, -63.29)
CIE-LCHlch(36.24, 79.13, 306.89°)
OKLaboklab(47.11% 0.0657 -0.1816)
OKLCHoklch(47.11% 0.193 289.9)
XYZxyz(15.4150, 9.1325, 49.0848)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3ABD #98BD3A
analogous
#3A56BD #5F3ABD #A03ABD
triadic
#5F3ABD #BD5F3A #3ABD5F
tetradic
#5F3ABD #BD3A56 #98BD3A #3ABDA0
square
#5F3ABD #BD3A56 #98BD3A #3ABDA0
split-complementary
#5F3ABD #BDA03A #56BD3A
monochromatic
#301D5F #472C8E #5F3ABD #8365D0 #A893DE

Accessibility & contrast

On white

7.43
#5F3ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5F3ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3ABD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3ABD#FFFFFF#000000##FFFFFF
##5F3ABD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#3F5B77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f3abd;
/* rgb */ color: rgb(95, 58, 189);
/* oklch */ color: oklch(47.1% 0.193 289.9);
Tailwind
colors: {
  custom: {
    50: '#9573d2',
    500: '#5f3abd',
    950: '#000000',
  },
}
SCSS
$custom: #5f3abd;
$custom-light: #9573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3abd",
  "rgb": {
    "r": 95,
    "g": 58,
    "b": 189
  },
  "hsl": {
    "h": 256.947,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.19307,
    "h": 289.9
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

primary
#5F3ABD
secondary
#B7C98A
accent
#DC4BB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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