#5333D6#5333D6

#5333D6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.230 H 282.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5333D6
RGBrgb(83, 51, 214)
HSLhsl(252, 67%, 52%)
HSVhsv(252, 76%, 84%)
CMYKcmyk(61.2%, 76.2%, 0%, 16.1%)
CIE-LABlab(36.10, 56.50, -78.11)
CIE-LCHlch(36.10, 96.41, 305.88°)
OKLaboklab(47.43% 0.0483 -0.2253)
OKLCHoklch(47.43% 0.23 282.1)
XYZxyz(16.8849, 9.0605, 64.4644)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5333D6 #B6D633
analogous
#3365D6 #5333D6 #A533D6
triadic
#5333D6 #D65333 #33D653
tetradic
#5333D6 #D63365 #B6D633 #33D6A5
square
#5333D6 #D63365 #B6D633 #33D6A5
split-complementary
#5333D6 #D6A533 #65D633
monochromatic
#2A1877 #3D22AA #5333D6 #7E66E0 #A999EA

Accessibility & contrast

On white

7.47
#5333D6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5333D6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5333D6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5333D6#FFFFFF#000000##FFFFFF
##5333D61.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADB
Deuteranopia (green-blind)
#004FD3
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5333d6;
/* rgb */ color: rgb(83, 51, 214);
/* oklch */ color: oklch(47.4% 0.230 282.1);
Tailwind
colors: {
  custom: {
    50: '#936fe4',
    500: '#5333d6',
    950: '#000000',
  },
}
SCSS
$custom: #5333d6;
$custom-light: #936fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5333d6",
  "rgb": {
    "r": 83,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 251.779,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.23041,
    "h": 282.1
  },
  "luminance": 0.09062
}

Semantic roles & 50–950 ramp

primary
#5333D6
secondary
#C8D68F
accent
#E93EC8
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5333D6

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

Preview Lab → · Contrast checker → · Palette generator →

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