#5332C1#5332C1

#5332C1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.207 H 285.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5332C1
RGBrgb(83, 50, 193)
HSLhsl(254, 59%, 48%)
HSVhsv(254, 74%, 76%)
CMYKcmyk(57%, 74.1%, 0%, 24.3%)
CIE-LABlab(33.92, 50.95, -69.48)
CIE-LCHlch(33.92, 86.16, 306.25°)
OKLaboklab(45.29% 0.0543 -0.2001)
OKLCHoklch(45.29% 0.207 285.2)
XYZxyz(14.3306, 7.9696, 51.2249)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332C1 #A0C132
analogous
#3259C1 #5332C1 #9A32C1
triadic
#5332C1 #C15332 #32C153
tetradic
#5332C1 #C13259 #A0C132 #32C19A
square
#5332C1 #C13259 #A0C132 #32C19A
split-complementary
#5332C1 #C19A32 #59C132
monochromatic
#291960 #3E2590 #5332C1 #775CD5 #A08CE1

Accessibility & contrast

On white

8.10
#5332C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5332C1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332C1#FFFFFF#000000##FFFFFF
##5332C11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#1B5A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5332c1;
/* rgb */ color: rgb(83, 50, 193);
/* oklch */ color: oklch(45.3% 0.207 285.2);
Tailwind
colors: {
  custom: {
    50: '#8f6ed5',
    500: '#5332c1',
    950: '#000000',
  },
}
SCSS
$custom: #5332c1;
$custom-light: #8f6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5332c1",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 253.846,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.2073,
    "h": 285.2
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5332C1

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

Preview Lab → · Contrast checker → · Palette generator →

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