#5339CE#5339CE

#5339CE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.4% C 0.215 H 282.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#5339CE
RGBrgb(83, 57, 206)
HSLhsl(250, 60%, 52%)
HSVhsv(250, 72%, 81%)
CMYKcmyk(59.7%, 72.3%, 0%, 19.2%)
CIE-LABlab(36.41, 51.15, -72.98)
CIE-LCHlch(36.41, 89.12, 305.03°)
OKLaboklab(47.41% 0.0462 -0.2104)
OKLCHoklch(47.41% 0.215 282.4)
XYZxyz(16.1675, 9.2204, 59.3083)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339CE #B4CE39
analogous
#396ACE #5339CE #9E39CE
triadic
#5339CE #CE5339 #39CE53
tetradic
#5339CE #CE396A #B4CE39 #39CE9E
square
#5339CE #CE396A #B4CE39 #39CE9E
split-complementary
#5339CE #CE9E39 #6ACE39
monochromatic
#2B1C71 #3D28A2 #5339CE #7E6ADA #A89BE6

Accessibility & contrast

On white

7.38
#5339CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5339CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339CE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339CE#FFFFFF#000000##FFFFFF
##5339CE1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5339ce;
/* rgb */ color: rgb(83, 57, 206);
/* oklch */ color: oklch(47.4% 0.215 282.4);
Tailwind
colors: {
  custom: {
    50: '#9172de',
    500: '#5339ce',
    950: '#000000',
  },
}
SCSS
$custom: #5339ce;
$custom-light: #9172de;
$custom-dark: #000000;
JSON
{
  "hex": "#5339ce",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 250.47,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.21538,
    "h": 282.4
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#5339CE
secondary
#C7D291
accent
#E344C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339CE

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

Preview Lab → · Contrast checker → · Palette generator →

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