#5339C3#5339C3

#5339C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.4% C 0.202 H 283.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5339C3
RGBrgb(83, 57, 195)
HSLhsl(251, 55%, 49%)
HSVhsv(251, 71%, 76%)
CMYKcmyk(57.4%, 70.8%, 0%, 23.5%)
CIE-LABlab(35.41, 47.87, -68.21)
CIE-LCHlch(35.41, 83.33, 305.06°)
OKLaboklab(46.4% 0.0484 -0.1964)
OKLCHoklch(46.4% 0.202 283.9)
XYZxyz(14.8777, 8.7045, 52.5153)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339C3 #A9C339
analogous
#3964C3 #5339C3 #9839C3
triadic
#5339C3 #C35339 #39C353
tetradic
#5339C3 #C33964 #A9C339 #39C398
square
#5339C3 #C33964 #A9C339 #39C398
split-complementary
#5339C3 #C39839 #64C339
monochromatic
#2B1D64 #3F2B94 #5339C3 #7B67D2 #A496E0

Accessibility & contrast

On white

7.66
#5339C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5339C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339C3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339C3#FFFFFF#000000##FFFFFF
##5339C31.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#165E7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5339c3;
/* rgb */ color: rgb(83, 57, 195);
/* oklch */ color: oklch(46.4% 0.202 283.9);
Tailwind
colors: {
  custom: {
    50: '#8f72d6',
    500: '#5339c3',
    950: '#000000',
  },
}
SCSS
$custom: #5339c3;
$custom-light: #8f72d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5339c3",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 251.304,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.20228,
    "h": 283.9
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5339C3

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

Preview Lab → · Contrast checker → · Palette generator →

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