#5F33BD#5F33BD

#5F33BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.201 H 291.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5F33BD
RGBrgb(95, 51, 189)
HSLhsl(259, 58%, 47%)
HSVhsv(259, 73%, 74%)
CMYKcmyk(49.7%, 73%, 0%, 25.9%)
CIE-LABlab(34.95, 51.10, -65.39)
CIE-LCHlch(34.95, 82.99, 308.00°)
OKLaboklab(46.2% 0.0719 -0.1877)
OKLCHoklch(46.2% 0.201 291)
XYZxyz(15.0858, 8.4741, 48.9750)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F33BD #91BD33
analogous
#334CBD #5F33BD #A433BD
triadic
#5F33BD #BD5F33 #33BD5F
tetradic
#5F33BD #BD334C #91BD33 #33BDA4
square
#5F33BD #BD334C #91BD33 #33BDA4
split-complementary
#5F33BD #BDA433 #4CBD33
monochromatic
#2F195D #47268D #5F33BD #815BD3 #A68BE0

Accessibility & contrast

On white

7.79
#5F33BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F33BD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F33BD#FFFFFF#000000##FFFFFF
##5F33BD1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#3F5875
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f33bd;
/* rgb */ color: rgb(95, 51, 189);
/* oklch */ color: oklch(46.2% 0.201 291.0);
Tailwind
colors: {
  custom: {
    50: '#956fd2',
    500: '#5f33bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f33bd;
$custom-light: #956fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f33bd",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 189
  },
  "hsl": {
    "h": 259.13,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.20102,
    "h": 291
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F33BD

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

Preview Lab → · Contrast checker → · Palette generator →

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