#5339C9#5339C9

#5339C9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.209 H 283.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5339C9
RGBrgb(83, 57, 201)
HSLhsl(251, 57%, 51%)
HSVhsv(251, 72%, 79%)
CMYKcmyk(58.7%, 71.6%, 0%, 21.2%)
CIE-LABlab(35.95, 49.67, -70.83)
CIE-LCHlch(35.95, 86.51, 305.04°)
OKLaboklab(46.95% 0.0473 -0.204)
OKLCHoklch(46.95% 0.209 283)
XYZxyz(15.5698, 8.9813, 56.1601)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C9 #AFC939
analogous
#3967C9 #5339C9 #9B39C9
triadic
#5339C9 #C95339 #39C953
tetradic
#5339C9 #C93967 #AFC939 #39C99B
square
#5339C9 #C93967 #AFC939 #39C99B
split-complementary
#5339C9 #C99B39 #67C939
monochromatic
#2B1D6B #3E2A9B #5339C9 #7D69D6 #A799E3

Accessibility & contrast

On white

7.51
#5339C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5339C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C9#FFFFFF#000000##FFFFFF
##5339C91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#03607D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5339c9;
/* rgb */ color: rgb(83, 57, 201);
/* oklch */ color: oklch(47.0% 0.209 283.0);
Tailwind
colors: {
  custom: {
    50: '#9072db',
    500: '#5339c9',
    950: '#000000',
  },
}
SCSS
$custom: #5339c9;
$custom-light: #9072db;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c9",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 250.833,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46951,
    "c": 0.20945,
    "h": 283
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#5339C9
secondary
#C3CF8F
accent
#E047C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339C9

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

Preview Lab → · Contrast checker → · Palette generator →

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