#5334BC#5334BC

#5334BC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.199 H 285.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5334BC
RGBrgb(83, 52, 188)
HSLhsl(254, 57%, 47%)
HSVhsv(254, 72%, 74%)
CMYKcmyk(55.9%, 72.3%, 0%, 26.3%)
CIE-LABlab(33.83, 48.47, -66.69)
CIE-LCHlch(33.83, 82.44, 306.01°)
OKLaboklab(45.09% 0.0539 -0.1919)
OKLCHoklch(45.09% 0.199 285.7)
XYZxyz(13.8696, 7.9250, 48.3660)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334BC #9DBC34
analogous
#3459BC #5334BC #9734BC
triadic
#5334BC #BC5334 #34BC53
tetradic
#5334BC #BC3459 #9DBC34 #34BC97
square
#5334BC #BC3459 #9DBC34 #34BC97
split-complementary
#5334BC #BC9734 #59BC34
monochromatic
#29195C #3E278C #5334BC #765BD2 #9E8BDF

Accessibility & contrast

On white

8.12
#5334BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5334BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334BC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334BC#FFFFFF#000000##FFFFFF
##5334BC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#225975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5334bc;
/* rgb */ color: rgb(83, 52, 188);
/* oklch */ color: oklch(45.1% 0.199 285.7);
Tailwind
colors: {
  custom: {
    50: '#8e6fd1',
    500: '#5334bc',
    950: '#000000',
  },
}
SCSS
$custom: #5334bc;
$custom-light: #8e6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5334bc",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 253.676,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.19933,
    "h": 285.7
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#5334BC
secondary
#B9C983
accent
#E048BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5334BC

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

Preview Lab → · Contrast checker → · Palette generator →

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