#5334C0#5334C0

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

Color values

HEX#5334C0
RGBrgb(83, 52, 192)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(56.8%, 72.9%, 0%, 24.7%)
CIE-LABlab(34.19, 49.64, -68.45)
CIE-LCHlch(34.19, 84.55, 305.95°)
OKLaboklab(45.46% 0.053 -0.1971)
OKLCHoklch(45.46% 0.204 285)
XYZxyz(14.3068, 8.0999, 50.6685)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334C0 #A1C034
analogous
#345BC0 #5334C0 #9934C0
triadic
#5334C0 #C05334 #34C053
tetradic
#5334C0 #C0345B #A1C034 #34C099
square
#5334C0 #C0345B #A1C034 #34C099
split-complementary
#5334C0 #C09934 #5BC034
monochromatic
#291A60 #3E2790 #5334C0 #785ED3 #A08EE0

Accessibility & contrast

On white

8.01
#5334C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5334C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334C0
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334C0#FFFFFF#000000##FFFFFF
##5334C01.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)
#0054C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#1C5A77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5334c0;
/* rgb */ color: rgb(83, 52, 192);
/* oklch */ color: oklch(45.5% 0.204 285.0);
Tailwind
colors: {
  custom: {
    50: '#8f6fd4',
    500: '#5334c0',
    950: '#000000',
  },
}
SCSS
$custom: #5334c0;
$custom-light: #8f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5334c0",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 253.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.20407,
    "h": 285
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#5334C0
secondary
#BBCB85
accent
#E147BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5334C0

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

Preview Lab → · Contrast checker → · Palette generator →

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