#5334AF#5334AF

#5334AF is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.184 H 287.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5334AF
RGBrgb(83, 52, 175)
HSLhsl(255, 54%, 45%)
HSVhsv(255, 70%, 69%)
CMYKcmyk(52.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(32.68, 44.66, -60.87)
CIE-LCHlch(32.68, 75.49, 306.27°)
OKLaboklab(43.92% 0.0565 -0.1748)
OKLCHoklch(43.92% 0.184 287.9)
XYZxyz(12.5309, 7.3895, 41.3152)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334AF #90AF34
analogous
#3453AF #5334AF #9134AF
triadic
#5334AF #AF5334 #34AF53
tetradic
#5334AF #AF3453 #90AF34 #34AF91
square
#5334AF #AF3453 #90AF34 #34AF91
split-complementary
#5334AF #AF9134 #53AF34
monochromatic
#261851 #3D2680 #5334AF #7254CC #9983DA

Accessibility & contrast

On white

8.47
#5334AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5334AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334AF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334AF#FFFFFF#000000##FFFFFF
##5334AF1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#30546E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5334af;
/* rgb */ color: rgb(83, 52, 175);
/* oklch */ color: oklch(43.9% 0.184 287.9);
Tailwind
colors: {
  custom: {
    50: '#8c6ec8',
    500: '#5334af',
    950: '#000000',
  },
}
SCSS
$custom: #5334af;
$custom-light: #8c6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5334af",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 255.122,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.18374,
    "h": 287.9
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#5334AF
secondary
#B1C47B
accent
#DE4AB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5334AF

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

Preview Lab → · Contrast checker → · Palette generator →

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