#5339BA#5339BA

#5339BA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.6% C 0.191 H 285.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5339BA
RGBrgb(83, 57, 186)
HSLhsl(252, 53%, 48%)
HSVhsv(252, 69%, 73%)
CMYKcmyk(55.4%, 69.4%, 0%, 27.1%)
CIE-LABlab(34.62, 45.18, -64.21)
CIE-LCHlch(34.62, 78.52, 305.13°)
OKLaboklab(45.6% 0.0501 -0.1847)
OKLCHoklch(45.6% 0.191 285.2)
XYZxyz(13.8907, 8.3096, 47.3168)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339BA #A0BA39
analogous
#3960BA #5339BA #9339BA
triadic
#5339BA #BA5339 #39BA53
tetradic
#5339BA #BA3960 #A0BA39 #39BA93
square
#5339BA #BA3960 #A0BA39 #39BA93
split-complementary
#5339BA #BA9339 #60BA39
monochromatic
#291C5C #3E2B8B #5339BA #7761CF #A090DD

Accessibility & contrast

On white

7.89
#5339BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5339BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339BA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339BA#FFFFFF#000000##FFFFFF
##5339BA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#245B75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5339ba;
/* rgb */ color: rgb(83, 57, 186);
/* oklch */ color: oklch(45.6% 0.191 285.2);
Tailwind
colors: {
  custom: {
    50: '#8e72d0',
    500: '#5339ba',
    950: '#000000',
  },
}
SCSS
$custom: #5339ba;
$custom-light: #8e72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5339ba",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 252.093,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.19135,
    "h": 285.2
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#5339BA
secondary
#BBC887
accent
#DC4BBF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5339BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5339BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva