#5339CB#5339CB

#5339CB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.1% C 0.212 H 282.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5339CB
RGBrgb(83, 57, 203)
HSLhsl(251, 58%, 51%)
HSVhsv(251, 72%, 80%)
CMYKcmyk(59.1%, 71.9%, 0%, 20.4%)
CIE-LABlab(36.13, 50.26, -71.69)
CIE-LCHlch(36.13, 87.56, 305.03°)
OKLaboklab(47.14% 0.0469 -0.2066)
OKLCHoklch(47.14% 0.212 282.8)
XYZxyz(15.8066, 9.0760, 57.4072)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339CB #B1CB39
analogous
#3968CB #5339CB #9C39CB
triadic
#5339CB #CB5339 #39CB53
tetradic
#5339CB #CB3968 #B1CB39 #39CB9C
square
#5339CB #CB3968 #B1CB39 #39CB9C
split-complementary
#5339CB #CB9C39 #68CB39
monochromatic
#2B1D6D #3E299D #5339CB #7D69D8 #A79AE4

Accessibility & contrast

On white

7.46
#5339CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5339CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339CB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339CB#FFFFFF#000000##FFFFFF
##5339CB1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5339cb;
/* rgb */ color: rgb(83, 57, 203);
/* oklch */ color: oklch(47.1% 0.212 282.8);
Tailwind
colors: {
  custom: {
    50: '#9072dc',
    500: '#5339cb',
    950: '#000000',
  },
}
SCSS
$custom: #5339cb;
$custom-light: #9072dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5339cb",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 250.685,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.21183,
    "h": 282.8
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#5339CB
secondary
#C5D090
accent
#E246C6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339CB

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

Preview Lab → · Contrast checker → · Palette generator →

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