#5F33BF#5F33BF

#5F33BF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.203 H 290.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5F33BF
RGBrgb(95, 51, 191)
HSLhsl(259, 58%, 47%)
HSVhsv(259, 73%, 75%)
CMYKcmyk(50.3%, 73.3%, 0%, 25.1%)
CIE-LABlab(35.13, 51.65, -66.28)
CIE-LCHlch(35.13, 84.03, 307.93°)
OKLaboklab(46.38% 0.0715 -0.1903)
OKLCHoklch(46.38% 0.203 290.6)
XYZxyz(15.3044, 8.5615, 50.1263)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F33BF #93BF33
analogous
#334DBF #5F33BF #A533BF
triadic
#5F33BF #BF5F33 #33BF5F
tetradic
#5F33BF #BF334D #93BF33 #33BFA5
square
#5F33BF #BF334D #93BF33 #33BFA5
split-complementary
#5F33BF #BFA533 #4DBF33
monochromatic
#2F195E #47268F #5F33BF #815CD3 #A78CE0

Accessibility & contrast

On white

7.74
#5F33BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5F33BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F33BF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F33BF#FFFFFF#000000##FFFFFF
##5F33BF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3E5976
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f33bf;
/* rgb */ color: rgb(95, 51, 191);
/* oklch */ color: oklch(46.4% 0.203 290.6);
Tailwind
colors: {
  custom: {
    50: '#966fd3',
    500: '#5f33bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f33bf;
$custom-light: #966fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f33bf",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 258.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46375,
    "c": 0.20329,
    "h": 290.6
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#5F33BF
secondary
#B4CB83
accent
#E147B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F33BF

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

Preview Lab → · Contrast checker → · Palette generator →

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