#5339CA#5339CA

#5339CA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.0% C 0.211 H 282.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#5339CA
RGBrgb(83, 57, 202)
HSLhsl(251, 58%, 51%)
HSVhsv(251, 72%, 79%)
CMYKcmyk(58.9%, 71.8%, 0%, 20.8%)
CIE-LABlab(36.04, 49.96, -71.26)
CIE-LCHlch(36.04, 87.03, 305.04°)
OKLaboklab(47.04% 0.0471 -0.2053)
OKLCHoklch(47.04% 0.211 282.9)
XYZxyz(15.6878, 9.0285, 56.7817)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339CA #B0CA39
analogous
#3967CA #5339CA #9C39CA
triadic
#5339CA #CA5339 #39CA53
tetradic
#5339CA #CA3967 #B0CA39 #39CA9C
square
#5339CA #CA3967 #B0CA39 #39CA9C
split-complementary
#5339CA #CA9C39 #67CA39
monochromatic
#2B1D6C #3E2A9C #5339CA #7D69D7 #A79AE4

Accessibility & contrast

On white

7.48
#5339CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5339CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339CA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339CA#FFFFFF#000000##FFFFFF
##5339CA1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5339ca;
/* rgb */ color: rgb(83, 57, 202);
/* oklch */ color: oklch(47.0% 0.211 282.9);
Tailwind
colors: {
  custom: {
    50: '#9072db',
    500: '#5339ca',
    950: '#000000',
  },
}
SCSS
$custom: #5339ca;
$custom-light: #9072db;
$custom-dark: #000000;
JSON
{
  "hex": "#5339ca",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 250.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47043,
    "c": 0.21064,
    "h": 282.9
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#5339CA
secondary
#C4D08F
accent
#E147C5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5339CA

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

Preview Lab → · Contrast checker → · Palette generator →

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