#5337D0#5337D0

#5337D0 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.220 H 282.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5337D0
RGBrgb(83, 55, 208)
HSLhsl(251, 62%, 52%)
HSVhsv(251, 74%, 82%)
CMYKcmyk(60.1%, 73.6%, 0%, 18.4%)
CIE-LABlab(36.22, 52.78, -74.44)
CIE-LCHlch(36.22, 91.25, 305.34°)
OKLaboklab(47.34% 0.0472 -0.2146)
OKLCHoklch(47.34% 0.22 282.4)
XYZxyz(16.3151, 9.1243, 60.5637)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337D0 #B4D037
analogous
#3768D0 #5337D0 #9F37D0
triadic
#5337D0 #D05337 #37D053
tetradic
#5337D0 #D03768 #B4D037 #37D09F
square
#5337D0 #D03768 #B4D037 #37D09F
split-complementary
#5337D0 #D09F37 #68D037
monochromatic
#2B1B72 #3D26A3 #5337D0 #7E69DC #A89AE7

Accessibility & contrast

On white

7.43
#5337D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5337D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337D0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337D0#FFFFFF#000000##FFFFFF
##5337D01.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#0050CD
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5337d0;
/* rgb */ color: rgb(83, 55, 208);
/* oklch */ color: oklch(47.3% 0.220 282.4);
Tailwind
colors: {
  custom: {
    50: '#9171e0',
    500: '#5337d0',
    950: '#000000',
  },
}
SCSS
$custom: #5337d0;
$custom-light: #9171e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5337d0",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 250.98,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.21973,
    "h": 282.4
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#5337D0
secondary
#C7D390
accent
#E543C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337D0

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

Preview Lab → · Contrast checker → · Palette generator →

#5337D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva