#5339C2#5339C2

#5339C2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.3% C 0.201 H 284.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5339C2
RGBrgb(83, 57, 194)
HSLhsl(251, 55%, 49%)
HSVhsv(251, 71%, 76%)
CMYKcmyk(57.2%, 70.6%, 0%, 23.9%)
CIE-LABlab(35.32, 47.58, -67.77)
CIE-LCHlch(35.32, 82.80, 305.07°)
OKLaboklab(46.31% 0.0486 -0.1951)
OKLCHoklch(46.31% 0.201 284)
XYZxyz(14.7650, 8.6594, 51.9219)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C2 #A8C239
analogous
#3964C2 #5339C2 #9839C2
triadic
#5339C2 #C25339 #39C253
tetradic
#5339C2 #C23964 #A8C239 #39C298
square
#5339C2 #C23964 #A8C239 #39C298
split-complementary
#5339C2 #C29839 #64C239
monochromatic
#2B1D63 #3F2B93 #5339C2 #7B66D2 #A495E0

Accessibility & contrast

On white

7.69
#5339C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5339C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C2#FFFFFF#000000##FFFFFF
##5339C21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#185E79
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5339c2;
/* rgb */ color: rgb(83, 57, 194);
/* oklch */ color: oklch(46.3% 0.201 284.0);
Tailwind
colors: {
  custom: {
    50: '#8f72d6',
    500: '#5339c2',
    950: '#000000',
  },
}
SCSS
$custom: #5339c2;
$custom-light: #8f72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c2",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 251.387,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.20107,
    "h": 284
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#5339C2
secondary
#BFCB8B
accent
#DE4AC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5339C2

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

Preview Lab → · Contrast checker → · Palette generator →

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