#5339CC#5339CC

#5339CC is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.2% C 0.213 H 282.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5339CC
RGBrgb(83, 57, 204)
HSLhsl(251, 59%, 51%)
HSVhsv(251, 72%, 80%)
CMYKcmyk(59.3%, 72.1%, 0%, 20%)
CIE-LABlab(36.22, 50.56, -72.12)
CIE-LCHlch(36.22, 88.08, 305.03°)
OKLaboklab(47.23% 0.0466 -0.2078)
OKLCHoklch(47.23% 0.213 282.6)
XYZxyz(15.9261, 9.1238, 58.0369)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339CC #B2CC39
analogous
#3968CC #5339CC #9C39CC
triadic
#5339CC #CC5339 #39CC53
tetradic
#5339CC #CC3968 #B2CC39 #39CC9C
square
#5339CC #CC3968 #B2CC39 #39CC9C
split-complementary
#5339CC #CC9C39 #68CC39
monochromatic
#2B1C6E #3E299F #5339CC #7D6AD9 #A89AE5

Accessibility & contrast

On white

7.43
#5339CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5339CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339CC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339CC#FFFFFF#000000##FFFFFF
##5339CC1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#0050C9
Tritanopia (blue-blind)
#00617F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5339cc;
/* rgb */ color: rgb(83, 57, 204);
/* oklch */ color: oklch(47.2% 0.213 282.6);
Tailwind
colors: {
  custom: {
    50: '#9172dd',
    500: '#5339cc',
    950: '#000000',
  },
}
SCSS
$custom: #5339cc;
$custom-light: #9172dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5339cc",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 250.612,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47228,
    "c": 0.21301,
    "h": 282.6
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#5339CC
secondary
#C5D190
accent
#E246C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339CC

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

Preview Lab → · Contrast checker → · Palette generator →

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