#5335C9#5335C9

#5335C9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.214 H 283.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5335C9
RGBrgb(83, 53, 201)
HSLhsl(252, 58%, 50%)
HSVhsv(252, 74%, 79%)
CMYKcmyk(58.7%, 73.6%, 0%, 21.2%)
CIE-LABlab(35.20, 51.75, -72.05)
CIE-LCHlch(35.20, 88.71, 305.69°)
OKLaboklab(46.43% 0.0502 -0.2076)
OKLCHoklch(46.43% 0.214 283.6)
XYZxyz(15.3797, 8.6013, 56.0968)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5335C9 #ABC935
analogous
#3561C9 #5335C9 #9D35C9
triadic
#5335C9 #C95335 #35C953
tetradic
#5335C9 #C93561 #ABC935 #35C99D
square
#5335C9 #C93561 #ABC935 #35C99D
split-complementary
#5335C9 #C99D35 #61C935
monochromatic
#2B1B68 #3F2899 #5335C9 #7C65D6 #A595E3

Accessibility & contrast

On white

7.72
#5335C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5335C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5335C9
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5335C9#FFFFFF#000000##FFFFFF
##5335C91.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)
#0057CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#055E7C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5335c9;
/* rgb */ color: rgb(83, 53, 201);
/* oklch */ color: oklch(46.4% 0.214 283.6);
Tailwind
colors: {
  custom: {
    50: '#9070db',
    500: '#5335c9',
    950: '#000000',
  },
}
SCSS
$custom: #5335c9;
$custom-light: #9070db;
$custom-dark: #000000;
JSON
{
  "hex": "#5335c9",
  "rgb": {
    "r": 83,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 252.162,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.21358,
    "h": 283.6
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#5335C9
secondary
#C1CE8B
accent
#E146C2
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5335C9

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

Preview Lab → · Contrast checker → · Palette generator →

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