#5337C0#5337C0

#5337C0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 45.9% C 0.201 H 284.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5337C0
RGBrgb(83, 55, 192)
HSLhsl(252, 55%, 48%)
HSVhsv(252, 71%, 75%)
CMYKcmyk(56.8%, 71.4%, 0%, 24.7%)
CIE-LABlab(34.75, 48.06, -67.52)
CIE-LCHlch(34.75, 82.88, 305.44°)
OKLaboklab(45.86% 0.0506 -0.1944)
OKLCHoklch(45.86% 0.201 284.6)
XYZxyz(14.4450, 8.3763, 50.7146)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337C0 #A4C037
analogous
#375FC0 #5337C0 #9737C0
triadic
#5337C0 #C05337 #37C053
tetradic
#5337C0 #C0375F #A4C037 #37C097
square
#5337C0 #C0375F #A4C037 #37C097
split-complementary
#5337C0 #C09737 #5FC037
monochromatic
#2A1C61 #3E2990 #5337C0 #7962D2 #A292E0

Accessibility & contrast

On white

7.85
#5337C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5337C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337C0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337C0#FFFFFF#000000##FFFFFF
##5337C01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#1C5C78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5337c0;
/* rgb */ color: rgb(83, 55, 192);
/* oklch */ color: oklch(45.9% 0.201 284.6);
Tailwind
colors: {
  custom: {
    50: '#8f71d4',
    500: '#5337c0',
    950: '#000000',
  },
}
SCSS
$custom: #5337c0;
$custom-light: #8f71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5337c0",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 252.263,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.20086,
    "h": 284.6
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#5337C0
secondary
#BDCB88
accent
#DF49C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5337C0

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

Preview Lab → · Contrast checker → · Palette generator →

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