#5934BF#5934BF

#5934BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.202 H 287.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5934BF
RGBrgb(89, 52, 191)
HSLhsl(256, 57%, 48%)
HSVhsv(256, 73%, 75%)
CMYKcmyk(53.4%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.68, 50.23, -67.03)
CIE-LCHlch(34.68, 83.76, 306.84°)
OKLaboklab(45.92% 0.0619 -0.1927)
OKLCHoklch(45.92% 0.202 287.8)
XYZxyz(14.7490, 8.3407, 50.1129)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5934BF #9ABF34
analogous
#3455BF #5934BF #9E34BF
triadic
#5934BF #BF5934 #34BF59
tetradic
#5934BF #BF3455 #9ABF34 #34BF9E
square
#5934BF #BF3455 #9ABF34 #34BF9E
split-complementary
#5934BF #BF9E34 #55BF34
monochromatic
#2C1A5F #43278F #5934BF #7D5DD3 #A38DE0

Accessibility & contrast

On white

7.87
#5934BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5934BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5934BF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5934BF#FFFFFF#000000##FFFFFF
##5934BF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#305976
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5934bf;
/* rgb */ color: rgb(89, 52, 191);
/* oklch */ color: oklch(45.9% 0.202 287.8);
Tailwind
colors: {
  custom: {
    50: '#926fd3',
    500: '#5934bf',
    950: '#000000',
  },
}
SCSS
$custom: #5934bf;
$custom-light: #926fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5934bf",
  "rgb": {
    "r": 89,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 255.971,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.20241,
    "h": 287.8
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#5934BF
secondary
#B8CA84
accent
#E047B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5934BF

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

Preview Lab → · Contrast checker → · Palette generator →

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