#5330CD#5330CD

#5330CD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.223 H 283.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5330CD
RGBrgb(83, 48, 205)
HSLhsl(253, 62%, 50%)
HSVhsv(253, 77%, 80%)
CMYKcmyk(59.5%, 76.6%, 0%, 19.6%)
CIE-LABlab(34.72, 55.37, -75.17)
CIE-LCHlch(34.72, 93.36, 306.37°)
OKLaboklab(46.2% 0.0526 -0.2167)
OKLCHoklch(46.2% 0.223 283.6)
XYZxyz(15.6403, 8.3596, 58.5352)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330CD #AACD30
analogous
#305BCD #5330CD #A230CD
triadic
#5330CD #CD5330 #30CD53
tetradic
#5330CD #CD305B #AACD30 #30CDA2
square
#5330CD #CD305B #AACD30 #30CDA2
split-complementary
#5330CD #CDA230 #5BCD30
monochromatic
#2B196A #3F249B #5330CD #7B60DA #A592E5

Accessibility & contrast

On white

7.86
#5330CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5330CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330CD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330CD#FFFFFF#000000##FFFFFF
##5330CD1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5330cd;
/* rgb */ color: rgb(83, 48, 205);
/* oklch */ color: oklch(46.2% 0.223 283.6);
Tailwind
colors: {
  custom: {
    50: '#916dde',
    500: '#5330cd',
    950: '#000000',
  },
}
SCSS
$custom: #5330cd;
$custom-light: #916dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5330cd",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 205
  },
  "hsl": {
    "h": 253.376,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.462,
    "c": 0.22297,
    "h": 283.6
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#5330CD
secondary
#C0D089
accent
#E543C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5330CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5330CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva