#5335C0#5335C0

#5335C0 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.203 H 284.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5335C0
RGBrgb(83, 53, 192)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(56.8%, 72.4%, 0%, 24.7%)
CIE-LABlab(34.38, 49.12, -68.15)
CIE-LCHlch(34.38, 84.00, 305.78°)
OKLaboklab(45.59% 0.0522 -0.1962)
OKLCHoklch(45.59% 0.203 284.9)
XYZxyz(14.3519, 8.1901, 50.6835)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5335C0 #A2C035
analogous
#355CC0 #5335C0 #9935C0
triadic
#5335C0 #C05335 #35C053
tetradic
#5335C0 #C0355C #A2C035 #35C099
square
#5335C0 #C0355C #A2C035 #35C099
split-complementary
#5335C0 #C09935 #5CC035
monochromatic
#2A1B60 #3E2890 #5335C0 #785FD3 #A18FE0

Accessibility & contrast

On white

7.96
#5335C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5335C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5335C0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5335C0#FFFFFF#000000##FFFFFF
##5335C01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#1C5B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5335c0;
/* rgb */ color: rgb(83, 53, 192);
/* oklch */ color: oklch(45.6% 0.203 284.9);
Tailwind
colors: {
  custom: {
    50: '#8f6fd4',
    500: '#5335c0',
    950: '#000000',
  },
}
SCSS
$custom: #5335c0;
$custom-light: #8f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5335c0",
  "rgb": {
    "r": 83,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 252.95,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.20301,
    "h": 284.9
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#5335C0
secondary
#BCCB86
accent
#E048BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5335C0

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

Preview Lab → · Contrast checker → · Palette generator →

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