#5339B8#5339B8

#5339B8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.189 H 285.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5339B8
RGBrgb(83, 57, 184)
HSLhsl(252, 53%, 47%)
HSVhsv(252, 69%, 72%)
CMYKcmyk(54.9%, 69%, 0%, 27.8%)
CIE-LABlab(34.45, 44.58, -63.31)
CIE-LCHlch(34.45, 77.44, 305.15°)
OKLaboklab(45.42% 0.0504 -0.182)
OKLCHoklch(45.42% 0.189 285.5)
XYZxyz(13.6795, 8.2252, 46.2049)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339B8 #9EB839
analogous
#395FB8 #5339B8 #9239B8
triadic
#5339B8 #B85339 #39B853
tetradic
#5339B8 #B8395F #9EB839 #39B892
square
#5339B8 #B8395F #9EB839 #39B892
split-complementary
#5339B8 #B89239 #5FB839
monochromatic
#291C5B #3E2B89 #5339B8 #7760CE #9F8FDC

Accessibility & contrast

On white

7.94
#5339B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5339B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339B8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339B8#FFFFFF#000000##FFFFFF
##5339B81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#265A74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5339b8;
/* rgb */ color: rgb(83, 57, 184);
/* oklch */ color: oklch(45.4% 0.189 285.5);
Tailwind
colors: {
  custom: {
    50: '#8d71ce',
    500: '#5339b8',
    950: '#000000',
  },
}
SCSS
$custom: #5339b8;
$custom-light: #8d71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5339b8",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 252.283,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.1889,
    "h": 285.5
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#5339B8
secondary
#BAC786
accent
#DC4CBF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5339B8

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

Preview Lab → · Contrast checker → · Palette generator →

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