#5339C8#5339C8

#5339C8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.208 H 283.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5339C8
RGBrgb(83, 57, 200)
HSLhsl(251, 57%, 50%)
HSVhsv(251, 72%, 78%)
CMYKcmyk(58.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(35.86, 49.37, -70.39)
CIE-LCHlch(35.86, 85.98, 305.04°)
OKLaboklab(46.86% 0.0475 -0.2028)
OKLCHoklch(46.86% 0.208 283.2)
XYZxyz(15.4525, 8.9344, 55.5426)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C8 #AEC839
analogous
#3966C8 #5339C8 #9A39C8
triadic
#5339C8 #C85339 #39C853
tetradic
#5339C8 #C83966 #AEC839 #39C89A
square
#5339C8 #C83966 #AEC839 #39C89A
split-complementary
#5339C8 #C89A39 #66C839
monochromatic
#2B1D69 #3F2B99 #5339C8 #7D69D5 #A699E3

Accessibility & contrast

On white

7.53
#5339C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5339C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C8#FFFFFF#000000##FFFFFF
##5339C81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#07607D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5339c8;
/* rgb */ color: rgb(83, 57, 200);
/* oklch */ color: oklch(46.9% 0.208 283.2);
Tailwind
colors: {
  custom: {
    50: '#9072da',
    500: '#5339c8',
    950: '#000000',
  },
}
SCSS
$custom: #5339c8;
$custom-light: #9072da;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c8",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 250.909,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46859,
    "c": 0.20826,
    "h": 283.2
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#5339C8
secondary
#C3CE8F
accent
#E048C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339C8

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

Preview Lab → · Contrast checker → · Palette generator →

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