#5939C0#5939C0

#5939C0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.198 H 286.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5939C0
RGBrgb(89, 57, 192)
HSLhsl(254, 54%, 49%)
HSVhsv(254, 70%, 75%)
CMYKcmyk(53.6%, 70.3%, 0%, 24.7%)
CIE-LABlab(35.70, 47.91, -65.95)
CIE-LCHlch(35.70, 81.51, 306.00°)
OKLaboklab(46.67% 0.0575 -0.1896)
OKLCHoklch(46.67% 0.198 286.9)
XYZxyz(15.0946, 8.8551, 50.7728)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5939C0 #A0C039
analogous
#395DC0 #5939C0 #9D39C0
triadic
#5939C0 #C05939 #39C059
tetradic
#5939C0 #C0395D #A0C039 #39C09D
square
#5939C0 #C0395D #A0C039 #39C09D
split-complementary
#5939C0 #C09D39 #5DC039
monochromatic
#2D1D62 #432B91 #5939C0 #7F65D1 #A694DF

Accessibility & contrast

On white

7.58
#5939C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5939C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5939C0
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5939C0#FFFFFF#000000##FFFFFF
##5939C01.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#2F5C78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5939c0;
/* rgb */ color: rgb(89, 57, 192);
/* oklch */ color: oklch(46.7% 0.198 286.9);
Tailwind
colors: {
  custom: {
    50: '#9272d4',
    500: '#5939c0',
    950: '#000000',
  },
}
SCSS
$custom: #5939c0;
$custom-light: #9272d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5939c0",
  "rgb": {
    "r": 89,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 254.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.19808,
    "h": 286.9
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#5939C0
secondary
#BBCB8A
accent
#DE4ABB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5939C0

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

Preview Lab → · Contrast checker → · Palette generator →

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