#5330C9#5330C9

#5330C9 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.218 H 284.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5330C9
RGBrgb(83, 48, 201)
HSLhsl(254, 61%, 49%)
HSVhsv(254, 76%, 79%)
CMYKcmyk(58.7%, 76.1%, 0%, 21.2%)
CIE-LABlab(34.33, 54.23, -73.48)
CIE-LCHlch(34.33, 91.33, 306.43°)
OKLaboklab(45.81% 0.0536 -0.2118)
OKLCHoklch(45.81% 0.218 284.2)
XYZxyz(15.1636, 8.1690, 56.0247)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330C9 #A6C930
analogous
#305AC9 #5330C9 #A030C9
triadic
#5330C9 #C95330 #30C953
tetradic
#5330C9 #C9305A #A6C930 #30C9A0
square
#5330C9 #C9305A #A6C930 #30C9A0
split-complementary
#5330C9 #C9A030 #5AC930
monochromatic
#2A1866 #3F2498 #5330C9 #7A5ED8 #A38FE4

Accessibility & contrast

On white

7.97
#5330C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5330C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330C9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330C9#FFFFFF#000000##FFFFFF
##5330C91.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004CC6
Tritanopia (blue-blind)
#065C7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5330c9;
/* rgb */ color: rgb(83, 48, 201);
/* oklch */ color: oklch(45.8% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#916ddb',
    500: '#5330c9',
    950: '#000000',
  },
}
SCSS
$custom: #5330c9;
$custom-light: #916ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5330c9",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 253.725,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45811,
    "c": 0.21844,
    "h": 284.2
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#5330C9
secondary
#BECF86
accent
#E543C0
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5330C9

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

Preview Lab → · Contrast checker → · Palette generator →

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