#5333C2#5333C2

#5333C2 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.207 H 284.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5333C2
RGBrgb(83, 51, 194)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 74%, 76%)
CMYKcmyk(57.2%, 73.7%, 0%, 23.9%)
CIE-LABlab(34.19, 50.73, -69.62)
CIE-LCHlch(34.19, 86.14, 306.08°)
OKLaboklab(45.51% 0.0533 -0.2005)
OKLCHoklch(45.51% 0.207 284.9)
XYZxyz(14.4857, 8.1008, 51.8288)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333C2 #A2C233
analogous
#335AC2 #5333C2 #9B33C2
triadic
#5333C2 #C25333 #33C253
tetradic
#5333C2 #C2335A #A2C233 #33C29B
square
#5333C2 #C2335A #A2C233 #33C29B
split-complementary
#5333C2 #C29B33 #5AC233
monochromatic
#2A1A61 #3E2692 #5333C2 #785ED5 #A18EE1

Accessibility & contrast

On white

8.01
#5333C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5333C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333C2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333C2#FFFFFF#000000##FFFFFF
##5333C21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004CBF
Tritanopia (blue-blind)
#195B78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5333c2;
/* rgb */ color: rgb(83, 51, 194);
/* oklch */ color: oklch(45.5% 0.207 284.9);
Tailwind
colors: {
  custom: {
    50: '#8f6ed6',
    500: '#5333c2',
    950: '#000000',
  },
}
SCSS
$custom: #5333c2;
$custom-light: #8f6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#5333c2",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 253.427,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.20745,
    "h": 284.9
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#5333C2
secondary
#BCCC85
accent
#E246BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5333C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5333C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva