#5339BC#5339BC

#5339BC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.194 H 284.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#5339BC
RGBrgb(83, 57, 188)
HSLhsl(252, 53%, 48%)
HSVhsv(252, 70%, 74%)
CMYKcmyk(55.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(34.79, 45.78, -65.11)
CIE-LCHlch(34.79, 79.59, 305.11°)
OKLaboklab(45.77% 0.0497 -0.1873)
OKLCHoklch(45.77% 0.194 284.9)
XYZxyz(14.1048, 8.3953, 48.4444)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339BC #A2BC39
analogous
#3961BC #5339BC #9439BC
triadic
#5339BC #BC5339 #39BC53
tetradic
#5339BC #BC3961 #A2BC39 #39BC94
square
#5339BC #BC3961 #A2BC39 #39BC94
split-complementary
#5339BC #BC9439 #61BC39
monochromatic
#2A1D5E #3E2B8D #5339BC #7863D0 #A192DE

Accessibility & contrast

On white

7.84
#5339BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5339BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339BC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339BC#FFFFFF#000000##FFFFFF
##5339BC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#215B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5339bc;
/* rgb */ color: rgb(83, 57, 188);
/* oklch */ color: oklch(45.8% 0.194 284.9);
Tailwind
colors: {
  custom: {
    50: '#8e72d1',
    500: '#5339bc',
    950: '#000000',
  },
}
SCSS
$custom: #5339bc;
$custom-light: #8e72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5339bc",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 251.908,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.19379,
    "h": 284.9
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#5339BC
secondary
#BCC988
accent
#DD4BC0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5339BC

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

Preview Lab → · Contrast checker → · Palette generator →

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