#5F3FCF#5F3FCF

#5F3FCF is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.3% C 0.209 H 286.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5F3FCF
RGBrgb(95, 63, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(54.1%, 69.6%, 0%, 18.8%)
CIE-LABlab(38.71, 50.00, -69.74)
CIE-LCHlch(38.71, 85.81, 305.64°)
OKLaboklab(49.35% 0.058 -0.2005)
OKLCHoklch(49.35% 0.209 286.1)
XYZxyz(17.7559, 10.4919, 60.1089)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F3FCF #AFCF3F
analogous
#3F67CF #5F3FCF #A73FCF
triadic
#5F3FCF #CF5F3F #3FCF5F
tetradic
#5F3FCF #CF3F67 #AFCF3F #3FCFA7
square
#5F3FCF #CF3F67 #AFCF3F #3FCFA7
split-complementary
#5F3FCF #CFA73F #67CF3F
monochromatic
#311E76 #462AA7 #5F3FCF #8870DB #B1A1E7

Accessibility & contrast

On white

6.78
#5F3FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5F3FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F3FCF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F3FCF#FFFFFF#000000##FFFFFF
##5F3FCF1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#2F6582
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5f3fcf;
/* rgb */ color: rgb(95, 63, 207);
/* oklch */ color: oklch(49.3% 0.209 286.1);
Tailwind
colors: {
  custom: {
    50: '#9777df',
    500: '#5f3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5f3fcf;
$custom-light: #9777df;
$custom-dark: #000000;
JSON
{
  "hex": "#5f3fcf",
  "rgb": {
    "r": 95,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 253.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.20873,
    "h": 286.1
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#5F3FCF
secondary
#C6D496
accent
#E345C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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