#5339C0#5339C0

#5339C0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.199 H 284.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#5339C0
RGBrgb(83, 57, 192)
HSLhsl(252, 54%, 49%)
HSVhsv(252, 70%, 75%)
CMYKcmyk(56.8%, 70.3%, 0%, 24.7%)
CIE-LABlab(35.14, 46.98, -66.89)
CIE-LCHlch(35.14, 81.74, 305.08°)
OKLaboklab(46.13% 0.049 -0.1925)
OKLCHoklch(46.13% 0.199 284.3)
XYZxyz(14.5419, 8.5701, 50.7469)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C0 #A6C039
analogous
#3962C0 #5339C0 #9739C0
triadic
#5339C0 #C05339 #39C053
tetradic
#5339C0 #C03962 #A6C039 #39C097
square
#5339C0 #C03962 #A6C039 #39C097
split-complementary
#5339C0 #C09739 #62C039
monochromatic
#2A1D62 #3F2B91 #5339C0 #7A65D1 #A394DF

Accessibility & contrast

On white

7.74
#5339C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5339C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C0#FFFFFF#000000##FFFFFF
##5339C01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#1B5D78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5339c0;
/* rgb */ color: rgb(83, 57, 192);
/* oklch */ color: oklch(46.1% 0.199 284.3);
Tailwind
colors: {
  custom: {
    50: '#8f72d4',
    500: '#5339c0',
    950: '#000000',
  },
}
SCSS
$custom: #5339c0;
$custom-light: #8f72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c0",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 251.556,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19865,
    "h": 284.3
  },
  "luminance": 0.08571
}

Semantic roles & 50–950 ramp

primary
#5339C0
secondary
#BECB8A
accent
#DE4AC1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5339C0

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

Preview Lab → · Contrast checker → · Palette generator →

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