#5939B0#5939B0

#5939B0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.179 H 289.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5939B0
RGBrgb(89, 57, 176)
HSLhsl(256, 51%, 46%)
HSVhsv(256, 68%, 69%)
CMYKcmyk(49.4%, 67.6%, 0%, 31%)
CIE-LABlab(34.36, 43.26, -58.68)
CIE-LCHlch(34.36, 72.90, 306.40°)
OKLaboklab(45.29% 0.0602 -0.1682)
OKLCHoklch(45.29% 0.179 289.7)
XYZxyz(13.4172, 8.1841, 41.9386)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5939B0 #90B039
analogous
#3955B0 #5939B0 #9439B0
triadic
#5939B0 #B05939 #39B059
tetradic
#5939B0 #B03955 #90B039 #39B094
square
#5939B0 #B03955 #90B039 #39B094
split-complementary
#5939B0 #B09439 #55B039
monochromatic
#2A1B54 #422A82 #5939B0 #7A5CCA #9F8AD9

Accessibility & contrast

On white

7.96
#5939B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5939B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5939B0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5939B0#FFFFFF#000000##FFFFFF
##5939B01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#3C5770
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5939b0;
/* rgb */ color: rgb(89, 57, 176);
/* oklch */ color: oklch(45.3% 0.179 289.7);
Tailwind
colors: {
  custom: {
    50: '#9072c8',
    500: '#5939b0',
    950: '#000000',
  },
}
SCSS
$custom: #5939b0;
$custom-light: #9072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5939b0",
  "rgb": {
    "r": 89,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 256.134,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.17868,
    "h": 289.7
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#5939B0
secondary
#B2C481
accent
#DB4DB5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5939B0

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

Preview Lab → · Contrast checker → · Palette generator →

#5939B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva