#5337C5#5337C5

#5337C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.207 H 283.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5337C5
RGBrgb(83, 55, 197)
HSLhsl(252, 56%, 49%)
HSVhsv(252, 72%, 77%)
CMYKcmyk(57.9%, 72.1%, 0%, 22.7%)
CIE-LABlab(35.21, 49.54, -69.71)
CIE-LCHlch(35.21, 85.52, 305.40°)
OKLaboklab(46.31% 0.0496 -0.2008)
OKLCHoklch(46.31% 0.207 283.9)
XYZxyz(15.0084, 8.6016, 53.6819)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337C5 #A9C537
analogous
#3762C5 #5337C5 #9A37C5
triadic
#5337C5 #C55337 #37C553
tetradic
#5337C5 #C53762 #A9C537 #37C59A
square
#5337C5 #C53762 #A9C537 #37C59A
split-complementary
#5337C5 #C59A37 #62C537
monochromatic
#2B1C65 #3F2A95 #5337C5 #7B65D4 #A495E1

Accessibility & contrast

On white

7.72
#5337C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5337C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337C5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337C5#FFFFFF#000000##FFFFFF
##5337C51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#125E7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5337c5;
/* rgb */ color: rgb(83, 55, 197);
/* oklch */ color: oklch(46.3% 0.207 283.9);
Tailwind
colors: {
  custom: {
    50: '#9071d8',
    500: '#5337c5',
    950: '#000000',
  },
}
SCSS
$custom: #5337c5;
$custom-light: #9071d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5337c5",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 251.831,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46313,
    "c": 0.20682,
    "h": 283.9
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#5337C5
secondary
#C0CD8B
accent
#E048C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5337C5

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

Preview Lab → · Contrast checker → · Palette generator →

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