#5334BF#5334BF

#5334BF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.203 H 285.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#5334BF
RGBrgb(83, 52, 191)
HSLhsl(253, 57%, 48%)
HSVhsv(253, 73%, 75%)
CMYKcmyk(56.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.10, 49.35, -68.01)
CIE-LCHlch(34.10, 84.03, 305.96°)
OKLaboklab(45.36% 0.0532 -0.1958)
OKLCHoklch(45.36% 0.203 285.2)
XYZxyz(14.1964, 8.0557, 50.0870)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334BF #A0BF34
analogous
#345BBF #5334BF #9834BF
triadic
#5334BF #BF5334 #34BF53
tetradic
#5334BF #BF345B #A0BF34 #34BF98
square
#5334BF #BF345B #A0BF34 #34BF98
split-complementary
#5334BF #BF9834 #5BBF34
monochromatic
#291A5F #3E278F #5334BF #775DD3 #A08DE0

Accessibility & contrast

On white

8.04
#5334BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5334BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334BF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334BF#FFFFFF#000000##FFFFFF
##5334BF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#1E5A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5334bf;
/* rgb */ color: rgb(83, 52, 191);
/* oklch */ color: oklch(45.4% 0.203 285.2);
Tailwind
colors: {
  custom: {
    50: '#8f6fd3',
    500: '#5334bf',
    950: '#000000',
  },
}
SCSS
$custom: #5334bf;
$custom-light: #8f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5334bf",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 253.381,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.20289,
    "h": 285.2
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#5334BF
secondary
#BBCA84
accent
#E047BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5334BF

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

Preview Lab → · Contrast checker → · Palette generator →

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