#5330C4#5330C4

#5330C4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.213 H 285.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5330C4
RGBrgb(83, 48, 196)
HSLhsl(254, 61%, 48%)
HSVhsv(254, 76%, 77%)
CMYKcmyk(57.7%, 75.5%, 0%, 23.1%)
CIE-LABlab(33.85, 52.81, -71.35)
CIE-LCHlch(33.85, 88.77, 306.50°)
OKLaboklab(45.33% 0.0549 -0.2055)
OKLCHoklch(45.33% 0.213 285)
XYZxyz(14.5850, 7.9375, 52.9774)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5330C4 #A1C430
analogous
#3057C4 #5330C4 #9D30C4
triadic
#5330C4 #C45330 #30C453
tetradic
#5330C4 #C43057 #A1C430 #30C49D
square
#5330C4 #C43057 #A1C430 #30C49D
split-complementary
#5330C4 #C49D30 #57C430
monochromatic
#291862 #3E2493 #5330C4 #785AD7 #A08CE3

Accessibility & contrast

On white

8.12
#5330C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5330C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5330C4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5330C4#FFFFFF#000000##FFFFFF
##5330C41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004BC1
Tritanopia (blue-blind)
#155A78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5330c4;
/* rgb */ color: rgb(83, 48, 196);
/* oklch */ color: oklch(45.3% 0.213 285.0);
Tailwind
colors: {
  custom: {
    50: '#906dd7',
    500: '#5330c4',
    950: '#000000',
  },
}
SCSS
$custom: #5330c4;
$custom-light: #906dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5330c4",
  "rgb": {
    "r": 83,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 254.189,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.21275,
    "h": 285
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#5330C4
secondary
#BBCD83
accent
#E444BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5330C4

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

Preview Lab → · Contrast checker → · Palette generator →

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