#5935BF#5935BF

#5935BF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.201 H 287.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5935BF
RGBrgb(89, 53, 191)
HSLhsl(256, 57%, 48%)
HSVhsv(256, 72%, 75%)
CMYKcmyk(53.4%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.86, 49.72, -66.73)
CIE-LCHlch(34.86, 83.22, 306.69°)
OKLaboklab(46.04% 0.0611 -0.1918)
OKLCHoklch(46.04% 0.201 287.7)
XYZxyz(14.7941, 8.4309, 50.1279)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5935BF #9BBF35
analogous
#3556BF #5935BF #9E35BF
triadic
#5935BF #BF5935 #35BF59
tetradic
#5935BF #BF3556 #9BBF35 #35BF9E
square
#5935BF #BF3556 #9BBF35 #35BF9E
split-complementary
#5935BF #BF9E35 #56BF35
monochromatic
#2C1A5F #43288F #5935BF #7D5FD3 #A48FE0

Accessibility & contrast

On white

7.82
#5935BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5935BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5935BF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5935BF#FFFFFF#000000##FFFFFF
##5935BF1.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)
#0055C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#305A77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5935bf;
/* rgb */ color: rgb(89, 53, 191);
/* oklch */ color: oklch(46.0% 0.201 287.7);
Tailwind
colors: {
  custom: {
    50: '#9270d3',
    500: '#5935bf',
    950: '#000000',
  },
}
SCSS
$custom: #5935bf;
$custom-light: #9270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5935bf",
  "rgb": {
    "r": 89,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 255.652,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46044,
    "c": 0.20133,
    "h": 287.7
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#5935BF
secondary
#B8CA85
accent
#E048B8
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5935BF

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

Preview Lab → · Contrast checker → · Palette generator →

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