#5334AE#5334AE

#5334AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.8% C 0.183 H 288.1°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5334AE
RGBrgb(83, 52, 174)
HSLhsl(255, 54%, 44%)
HSVhsv(255, 70%, 68%)
CMYKcmyk(52.3%, 70.1%, 0%, 31.8%)
CIE-LABlab(32.59, 44.37, -60.41)
CIE-LCHlch(32.59, 74.95, 306.30°)
OKLaboklab(43.83% 0.0567 -0.1735)
OKLCHoklch(43.83% 0.183 288.1)
XYZxyz(12.4330, 7.3504, 40.7998)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5334AE #8FAE34
analogous
#3452AE #5334AE #9034AE
triadic
#5334AE #AE5334 #34AE53
tetradic
#5334AE #AE3452 #8FAE34 #34AE90
square
#5334AE #AE3452 #8FAE34 #34AE90
split-complementary
#5334AE #AE9034 #52AE34
monochromatic
#261850 #3D267F #5334AE #7253CC #9983DA

Accessibility & contrast

On white

8.50
#5334AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5334AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5334AE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5334AE#FFFFFF#000000##FFFFFF
##5334AE1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#31546D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5334ae;
/* rgb */ color: rgb(83, 52, 174);
/* oklch */ color: oklch(43.8% 0.183 288.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ec7',
    500: '#5334ae',
    950: '#000000',
  },
}
SCSS
$custom: #5334ae;
$custom-light: #8c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5334ae",
  "rgb": {
    "r": 83,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 255.246,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43828,
    "c": 0.18252,
    "h": 288.1
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#5334AE
secondary
#B1C37B
accent
#DD4AB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5334AE

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

Preview Lab → · Contrast checker → · Palette generator →

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