#5939DA#5939DA

#5939DA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.228 H 283.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5939DA
RGBrgb(89, 57, 218)
HSLhsl(252, 69%, 54%)
HSVhsv(252, 74%, 85%)
CMYKcmyk(59.2%, 73.9%, 0%, 14.5%)
CIE-LABlab(38.04, 55.44, -77.20)
CIE-LCHlch(38.04, 95.04, 305.68°)
OKLaboklab(49.04% 0.0519 -0.2225)
OKLCHoklch(49.04% 0.228 283.1)
XYZxyz(18.2339, 10.1108, 67.3068)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5939DA #BADA39
analogous
#396ADA #5939DA #A939DA
triadic
#5939DA #DA5939 #39DA59
tetradic
#5939DA #DA396A #BADA39 #39DAA9
square
#5939DA #DA396A #BADA39 #39DAA9
split-complementary
#5939DA #DAA939 #6ADA39
monochromatic
#2D1881 #3F22B4 #5939DA #846DE4 #AFA0ED

Accessibility & contrast

On white

6.95
#5939DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5939DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5939DA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5939DA#FFFFFF#000000##FFFFFF
##5939DA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EDF
Deuteranopia (green-blind)
#0054D7
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5939da;
/* rgb */ color: rgb(89, 57, 218);
/* oklch */ color: oklch(49.0% 0.228 283.1);
Tailwind
colors: {
  custom: {
    50: '#9673e7',
    500: '#5939da',
    950: '#000000',
  },
}
SCSS
$custom: #5939da;
$custom-light: #9673e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5939da",
  "rgb": {
    "r": 89,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 251.925,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.22848,
    "h": 283.1
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#5939DA
secondary
#CCDA95
accent
#EB3CC9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5939DA

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

Preview Lab → · Contrast checker → · Palette generator →

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