#5334C6#5334C6

#5334C6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.211 H 284.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5334C6
RGBrgb(83, 52, 198)
HSLhsl(253, 58%, 49%)
HSVhsv(253, 74%, 78%)
CMYKcmyk(58.1%, 73.7%, 0%, 22.4%)
CIE-LABlab(34.74, 51.39, -71.05)
CIE-LCHlch(34.74, 87.69, 305.87°)
OKLaboklab(46.02% 0.0516 -0.2047)
OKLCHoklch(46.02% 0.211 284.2)
XYZxyz(14.9852, 8.3713, 54.2413)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334C6 #A7C634
analogous
#345EC6 #5334C6 #9C34C6
triadic
#5334C6 #C65334 #34C653
tetradic
#5334C6 #C6345E #A7C634 #34C69C
square
#5334C6 #C6345E #A7C634 #34C69C
split-complementary
#5334C6 #C69C34 #5EC634
monochromatic
#2A1B65 #3F2796 #5334C6 #7A62D6 #A392E2

Accessibility & contrast

On white

7.85
#5334C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5334C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334C6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334C6#FFFFFF#000000##FFFFFF
##5334C61.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#105D7A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5334c6;
/* rgb */ color: rgb(83, 52, 198);
/* oklch */ color: oklch(46.0% 0.211 284.2);
Tailwind
colors: {
  custom: {
    50: '#906fd9',
    500: '#5334c6',
    950: '#000000',
  },
}
SCSS
$custom: #5334c6;
$custom-light: #906fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5334c6",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 252.74,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.2111,
    "h": 284.2
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#5334C6
secondary
#BFCD89
accent
#E246C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5334C6

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

Preview Lab → · Contrast checker → · Palette generator →

#5334C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva