#5337DA#5337DA

#5337DA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.231 H 281.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5337DA
RGBrgb(83, 55, 218)
HSLhsl(250, 69%, 54%)
HSVhsv(250, 75%, 85%)
CMYKcmyk(61.9%, 74.8%, 0%, 14.5%)
CIE-LABlab(37.17, 55.71, -78.64)
CIE-LCHlch(37.17, 96.37, 305.31°)
OKLaboklab(48.3% 0.0448 -0.2269)
OKLCHoklch(48.3% 0.231 281.2)
XYZxyz(17.5844, 9.6320, 67.2486)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337DA #BEDA37
analogous
#376CDA #5337DA #A437DA
triadic
#5337DA #DA5337 #37DA53
tetradic
#5337DA #DA376C #BEDA37 #37DAA4
square
#5337DA #DA376C #BEDA37 #37DAA4
split-complementary
#5337DA #DAA437 #6CDA37
monochromatic
#29187F #3A21B3 #5337DA #7F6BE4 #AC9EED

Accessibility & contrast

On white

7.18
#5337DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5337DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337DA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337DA#FFFFFF#000000##FFFFFF
##5337DA1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDF
Deuteranopia (green-blind)
#0051D7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5337da;
/* rgb */ color: rgb(83, 55, 218);
/* oklch */ color: oklch(48.3% 0.231 281.2);
Tailwind
colors: {
  custom: {
    50: '#9372e7',
    500: '#5337da',
    950: '#000000',
  },
}
SCSS
$custom: #5337da;
$custom-light: #9372e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5337da",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 250.307,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48298,
    "c": 0.23128,
    "h": 281.2
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#5337DA
secondary
#CDD993
accent
#EC3CCD
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5337DA

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

Preview Lab → · Contrast checker → · Palette generator →

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