#5333C1#5333C1

#5333C1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.206 H 285.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5333C1
RGBrgb(83, 51, 193)
HSLhsl(254, 58%, 48%)
HSVhsv(254, 74%, 76%)
CMYKcmyk(57%, 73.6%, 0%, 24.3%)
CIE-LABlab(34.10, 50.44, -69.19)
CIE-LCHlch(34.10, 85.62, 306.10°)
OKLaboklab(45.42% 0.0535 -0.1992)
OKLCHoklch(45.42% 0.206 285)
XYZxyz(14.3738, 8.0560, 51.2393)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333C1 #A1C133
analogous
#335AC1 #5333C1 #9A33C1
triadic
#5333C1 #C15333 #33C153
tetradic
#5333C1 #C1335A #A1C133 #33C19A
square
#5333C1 #C1335A #A1C133 #33C19A
split-complementary
#5333C1 #C19A33 #5AC133
monochromatic
#291960 #3E2691 #5333C1 #785DD4 #A08DE1

Accessibility & contrast

On white

8.04
#5333C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5333C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333C1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333C1#FFFFFF#000000##FFFFFF
##5333C11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5333c1;
/* rgb */ color: rgb(83, 51, 193);
/* oklch */ color: oklch(45.4% 0.206 285.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ed5',
    500: '#5333c1',
    950: '#000000',
  },
}
SCSS
$custom: #5333c1;
$custom-light: #8f6ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5333c1",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 253.521,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45419,
    "c": 0.20628,
    "h": 285
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#5333C1
secondary
#BBCB84
accent
#E146BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5333C1

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

Preview Lab → · Contrast checker → · Palette generator →

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