#5F3BBD#5F3BBD

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

Color values

HEX#5F3BBD
RGBrgb(95, 59, 189)
HSLhsl(257, 52%, 49%)
HSVhsv(257, 69%, 74%)
CMYKcmyk(49.7%, 68.8%, 0%, 25.9%)
CIE-LABlab(36.43, 46.97, -62.97)
CIE-LCHlch(36.43, 78.56, 306.72°)
OKLaboklab(47.25% 0.0647 -0.1806)
OKLCHoklch(47.25% 0.192 289.7)
XYZxyz(15.4659, 9.2343, 49.1017)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3BBD #99BD3B
analogous
#3B58BD #5F3BBD #A03BBD
triadic
#5F3BBD #BD5F3B #3BBD5F
tetradic
#5F3BBD #BD3B58 #99BD3B #3BBDA0
square
#5F3BBD #BD3B58 #99BD3B #3BBDA0
split-complementary
#5F3BBD #BDA03B #58BD3B
monochromatic
#301E60 #482C8E #5F3BBD #8366CF #A995DE

Accessibility & contrast

On white

7.38
#5F3BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5F3BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3BBD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3BBD#FFFFFF#000000##FFFFFF
##5F3BBD1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#3F5C77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f3bbd;
/* rgb */ color: rgb(95, 59, 189);
/* oklch */ color: oklch(47.3% 0.192 289.7);
Tailwind
colors: {
  custom: {
    50: '#9574d2',
    500: '#5f3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5f3bbd;
$custom-light: #9574d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3bbd",
  "rgb": {
    "r": 95,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 256.615,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.19188,
    "h": 289.7
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#5F3BBD
secondary
#B8C98B
accent
#DC4CB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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