#5334BE#5334BE

#5334BE is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.202 H 285.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5334BE
RGBrgb(83, 52, 190)
HSLhsl(253, 57%, 47%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(56.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(34.01, 49.05, -67.57)
CIE-LCHlch(34.01, 83.50, 305.98°)
OKLaboklab(45.27% 0.0534 -0.1945)
OKLCHoklch(45.27% 0.202 285.4)
XYZxyz(14.0867, 8.0119, 49.5094)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334BE #9FBE34
analogous
#345ABE #5334BE #9834BE
triadic
#5334BE #BE5334 #34BE53
tetradic
#5334BE #BE345A #9FBE34 #34BE98
square
#5334BE #BE345A #9FBE34 #34BE98
split-complementary
#5334BE #BE9834 #5ABE34
monochromatic
#291A5E #3E278E #5334BE #775DD3 #9F8DE0

Accessibility & contrast

On white

8.07
#5334BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5334BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334BE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334BE#FFFFFF#000000##FFFFFF
##5334BE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#1F5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5334be;
/* rgb */ color: rgb(83, 52, 190);
/* oklch */ color: oklch(45.3% 0.202 285.4);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5334be',
    950: '#000000',
  },
}
SCSS
$custom: #5334be;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5334be",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 253.478,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.20171,
    "h": 285.4
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#5334BE
secondary
#BACA84
accent
#E048BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5334BE

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

Preview Lab → · Contrast checker → · Palette generator →

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