#5F33BE#5F33BE

#5F33BE is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.202 H 290.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5F33BE
RGBrgb(95, 51, 190)
HSLhsl(259, 58%, 47%)
HSVhsv(259, 73%, 75%)
CMYKcmyk(50%, 73.2%, 0%, 25.5%)
CIE-LABlab(35.04, 51.37, -65.84)
CIE-LCHlch(35.04, 83.51, 307.96°)
OKLaboklab(46.29% 0.0717 -0.189)
OKLCHoklch(46.29% 0.202 290.8)
XYZxyz(15.1948, 8.5176, 49.5487)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F33BE #92BE33
analogous
#334CBE #5F33BE #A533BE
triadic
#5F33BE #BE5F33 #33BE5F
tetradic
#5F33BE #BE334C #92BE33 #33BEA5
square
#5F33BE #BE334C #92BE33 #33BEA5
split-complementary
#5F33BE #BEA533 #4CBE33
monochromatic
#2F195E #47268E #5F33BE #815BD3 #A68BE0

Accessibility & contrast

On white

7.77
#5F33BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5F33BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F33BE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F33BE#FFFFFF#000000##FFFFFF
##5F33BE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#3F5876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f33be;
/* rgb */ color: rgb(95, 51, 190);
/* oklch */ color: oklch(46.3% 0.202 290.8);
Tailwind
colors: {
  custom: {
    50: '#956fd3',
    500: '#5f33be',
    950: '#000000',
  },
}
SCSS
$custom: #5f33be;
$custom-light: #956fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f33be",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 190
  },
  "hsl": {
    "h": 258.993,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.20216,
    "h": 290.8
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#5F33BE
secondary
#B4CA83
accent
#E147B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F33BE

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

Preview Lab → · Contrast checker → · Palette generator →

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