#5339D2#5339D2

#5339D2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.220 H 281.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5339D2
RGBrgb(83, 57, 210)
HSLhsl(250, 63%, 52%)
HSVhsv(250, 73%, 82%)
CMYKcmyk(60.5%, 72.9%, 0%, 17.6%)
CIE-LABlab(36.78, 52.34, -74.69)
CIE-LCHlch(36.78, 91.20, 305.02°)
OKLaboklab(47.79% 0.0454 -0.2153)
OKLCHoklch(47.79% 0.22 281.9)
XYZxyz(16.6596, 9.4172, 61.9001)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339D2 #B8D239
analogous
#396CD2 #5339D2 #9F39D2
triadic
#5339D2 #D25339 #39D253
tetradic
#5339D2 #D2396C #B8D239 #39D29F
square
#5339D2 #D2396C #B8D239 #39D29F
split-complementary
#5339D2 #D29F39 #6CD239
monochromatic
#2A1B76 #3C26A8 #5339D2 #7E6BDD #AA9DE9

Accessibility & contrast

On white

7.28
#5339D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5339D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339D2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339D2#FFFFFF#000000##FFFFFF
##5339D21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD6
Deuteranopia (green-blind)
#0051CF
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5339d2;
/* rgb */ color: rgb(83, 57, 210);
/* oklch */ color: oklch(47.8% 0.220 281.9);
Tailwind
colors: {
  custom: {
    50: '#9272e1',
    500: '#5339d2',
    950: '#000000',
  },
}
SCSS
$custom: #5339d2;
$custom-light: #9272e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5339d2",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 250.196,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.22008,
    "h": 281.9
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#5339D2
secondary
#C9D592
accent
#E642CA
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #5339D2

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

Preview Lab → · Contrast checker → · Palette generator →

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