#5330C6#5330C6

#5330C6 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.215 H 284.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5330C6
RGBrgb(83, 48, 198)
HSLhsl(254, 61%, 48%)
HSVhsv(254, 76%, 78%)
CMYKcmyk(58.1%, 75.8%, 0%, 22.4%)
CIE-LABlab(34.04, 53.38, -72.21)
CIE-LCHlch(34.04, 89.79, 306.47°)
OKLaboklab(45.52% 0.0544 -0.208)
OKLCHoklch(45.52% 0.215 284.7)
XYZxyz(14.8142, 8.0292, 54.1843)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330C6 #A3C630
analogous
#3058C6 #5330C6 #9E30C6
triadic
#5330C6 #C65330 #30C653
tetradic
#5330C6 #C63058 #A3C630 #30C69E
square
#5330C6 #C63058 #A3C630 #30C69E
split-complementary
#5330C6 #C69E30 #58C630
monochromatic
#2A1863 #3E2495 #5330C6 #795CD7 #A18DE3

Accessibility & contrast

On white

8.06
#5330C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5330C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330C6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330C6#FFFFFF#000000##FFFFFF
##5330C61.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#105B79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5330c6;
/* rgb */ color: rgb(83, 48, 198);
/* oklch */ color: oklch(45.5% 0.215 284.7);
Tailwind
colors: {
  custom: {
    50: '#906dd9',
    500: '#5330c6',
    950: '#000000',
  },
}
SCSS
$custom: #5330c6;
$custom-light: #906dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5330c6",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 254,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.21503,
    "h": 284.7
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#5330C6
secondary
#BCCE84
accent
#E444BF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5330C6

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

Preview Lab → · Contrast checker → · Palette generator →

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