#5933BF#5933BF

#5933BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.203 H 287.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5933BF
RGBrgb(89, 51, 191)
HSLhsl(256, 58%, 47%)
HSVhsv(256, 73%, 75%)
CMYKcmyk(53.4%, 73.3%, 0%, 25.1%)
CIE-LABlab(34.50, 50.73, -67.33)
CIE-LCHlch(34.50, 84.30, 307.00°)
OKLaboklab(45.79% 0.0627 -0.1936)
OKLCHoklch(45.79% 0.203 287.9)
XYZxyz(14.7048, 8.2524, 50.0981)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5933BF #99BF33
analogous
#3353BF #5933BF #9F33BF
triadic
#5933BF #BF5933 #33BF59
tetradic
#5933BF #BF3353 #99BF33 #33BF9F
square
#5933BF #BF3353 #99BF33 #33BF9F
split-complementary
#5933BF #BF9F33 #53BF33
monochromatic
#2C195E #42268F #5933BF #7C5CD3 #A38CE0

Accessibility & contrast

On white

7.92
#5933BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5933BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5933BF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5933BF#FFFFFF#000000##FFFFFF
##5933BF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#305976
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5933bf;
/* rgb */ color: rgb(89, 51, 191);
/* oklch */ color: oklch(45.8% 0.203 287.9);
Tailwind
colors: {
  custom: {
    50: '#926fd3',
    500: '#5933bf',
    950: '#000000',
  },
}
SCSS
$custom: #5933bf;
$custom-light: #926fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5933bf",
  "rgb": {
    "r": 89,
    "g": 51,
    "b": 191
  },
  "hsl": {
    "h": 256.286,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45788,
    "c": 0.20348,
    "h": 287.9
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#5933BF
secondary
#B7CB83
accent
#E147B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5933BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5933BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva