#5F3BC0#5F3BC0

#5F3BC0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.195 H 289.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5F3BC0
RGBrgb(95, 59, 192)
HSLhsl(256, 53%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(50.5%, 69.3%, 0%, 24.7%)
CIE-LABlab(36.68, 47.83, -64.33)
CIE-LCHlch(36.68, 80.16, 306.63°)
OKLaboklab(47.5% 0.0642 -0.1846)
OKLCHoklch(47.5% 0.195 289.2)
XYZxyz(15.7950, 9.3659, 50.8345)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3BC0 #9CC03B
analogous
#3B59C0 #5F3BC0 #A23BC0
triadic
#5F3BC0 #C05F3B #3BC05F
tetradic
#5F3BC0 #C03B59 #9CC03B #3BC0A2
square
#5F3BC0 #C03B59 #9CC03B #3BC0A2
split-complementary
#5F3BC0 #C0A23B #59C03B
monochromatic
#311E62 #482D91 #5F3BC0 #8468D1 #AA97DF

Accessibility & contrast

On white

7.31
#5F3BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5F3BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F3BC0
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3BC0#FFFFFF#000000##FFFFFF
##5F3BC01.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#3D5D79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5f3bc0;
/* rgb */ color: rgb(95, 59, 192);
/* oklch */ color: oklch(47.5% 0.195 289.2);
Tailwind
colors: {
  custom: {
    50: '#9574d4',
    500: '#5f3bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5f3bc0;
$custom-light: #9574d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3bc0",
  "rgb": {
    "r": 95,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 256.241,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.19546,
    "h": 289.2
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#5F3BC0
secondary
#BACA8C
accent
#DC4BB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F3BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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