#5334C3#5334C3

#5334C3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.208 H 284.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5334C3
RGBrgb(83, 52, 195)
HSLhsl(253, 58%, 48%)
HSVhsv(253, 73%, 76%)
CMYKcmyk(57.4%, 73.3%, 0%, 23.5%)
CIE-LABlab(34.47, 50.51, -69.76)
CIE-LCHlch(34.47, 86.13, 305.91°)
OKLaboklab(45.73% 0.0523 -0.2009)
OKLCHoklch(45.73% 0.208 284.6)
XYZxyz(14.6426, 8.2342, 52.4370)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334C3 #A4C334
analogous
#345CC3 #5334C3 #9A34C3
triadic
#5334C3 #C35334 #34C353
tetradic
#5334C3 #C3345C #A4C334 #34C39A
square
#5334C3 #C3345C #A4C334 #34C39A
split-complementary
#5334C3 #C39A34 #5CC334
monochromatic
#2A1A62 #3E2793 #5334C3 #7960D5 #A290E1

Accessibility & contrast

On white

7.93
#5334C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5334C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334C3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334C3#FFFFFF#000000##FFFFFF
##5334C31.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#175B79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5334c3;
/* rgb */ color: rgb(83, 52, 195);
/* oklch */ color: oklch(45.7% 0.208 284.6);
Tailwind
colors: {
  custom: {
    50: '#906fd6',
    500: '#5334c3',
    950: '#000000',
  },
}
SCSS
$custom: #5334c3;
$custom-light: #906fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5334c3",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 253.007,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.20759,
    "h": 284.6
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#5334C3
secondary
#BDCC87
accent
#E147C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5334C3

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

Preview Lab → · Contrast checker → · Palette generator →

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