#5F33BC#5F33BC

#5F33BC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.200 H 291.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5F33BC
RGBrgb(95, 51, 188)
HSLhsl(259, 57%, 47%)
HSVhsv(259, 73%, 74%)
CMYKcmyk(49.5%, 72.9%, 0%, 26.3%)
CIE-LABlab(34.86, 50.82, -64.94)
CIE-LCHlch(34.86, 82.47, 308.05°)
OKLaboklab(46.11% 0.0722 -0.1864)
OKLCHoklch(46.11% 0.2 291.2)
XYZxyz(14.9777, 8.4308, 48.4053)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F33BC #90BC33
analogous
#334CBC #5F33BC #A433BC
triadic
#5F33BC #BC5F33 #33BC5F
tetradic
#5F33BC #BC334C #90BC33 #33BCA4
square
#5F33BC #BC334C #90BC33 #33BCA4
split-complementary
#5F33BC #BCA433 #4CBC33
monochromatic
#2E195C #47268C #5F33BC #815AD2 #A58ADF

Accessibility & contrast

On white

7.82
#5F33BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5F33BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F33BC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F33BC#FFFFFF#000000##FFFFFF
##5F33BC1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#405774
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f33bc;
/* rgb */ color: rgb(95, 51, 188);
/* oklch */ color: oklch(46.1% 0.200 291.2);
Tailwind
colors: {
  custom: {
    50: '#956fd1',
    500: '#5f33bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f33bc;
$custom-light: #956fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f33bc",
  "rgb": {
    "r": 95,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 259.27,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.19988,
    "h": 291.2
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#5F33BC
secondary
#B2C981
accent
#E147AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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