#5332C0#5332C0

#5332C0 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.206 H 285.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5332C0
RGBrgb(83, 50, 192)
HSLhsl(254, 59%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56.8%, 74%, 0%, 24.7%)
CIE-LABlab(33.83, 50.66, -69.05)
CIE-LCHlch(33.83, 85.64, 306.27°)
OKLaboklab(45.2% 0.0545 -0.1988)
OKLCHoklch(45.2% 0.206 285.3)
XYZxyz(14.2194, 7.9251, 50.6394)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C0 #9FC032
analogous
#3258C0 #5332C0 #9A32C0
triadic
#5332C0 #C05332 #32C053
tetradic
#5332C0 #C03258 #9FC032 #32C09A
square
#5332C0 #C03258 #9FC032 #32C09A
split-complementary
#5332C0 #C09A32 #58C032
monochromatic
#29195F #3E258F #5332C0 #775BD4 #9F8BE1

Accessibility & contrast

On white

8.12
#5332C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5332C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332C0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C0#FFFFFF#000000##FFFFFF
##5332C01.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)
#0053C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#1C5976
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5332c0;
/* rgb */ color: rgb(83, 50, 192);
/* oklch */ color: oklch(45.2% 0.206 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f6ed4',
    500: '#5332c0',
    950: '#000000',
  },
}
SCSS
$custom: #5332c0;
$custom-light: #8f6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c0",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 253.944,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45198,
    "c": 0.20614,
    "h": 285.3
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#5332C0
secondary
#BACB83
accent
#E246BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5332C0

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

Preview Lab → · Contrast checker → · Palette generator →

#5332C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva