#5339AD#5339AD

#5339AD is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.175 H 287.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5339AD
RGBrgb(83, 57, 173)
HSLhsl(253, 50%, 45%)
HSVhsv(253, 67%, 68%)
CMYKcmyk(52%, 67.1%, 0%, 32.2%)
CIE-LABlab(33.52, 41.28, -58.29)
CIE-LCHlch(33.52, 71.43, 305.31°)
OKLaboklab(44.47% 0.0521 -0.1673)
OKLCHoklch(44.47% 0.175 287.3)
XYZxyz(12.5710, 7.7818, 40.3667)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339AD #93AD39
analogous
#3959AD #5339AD #8D39AD
triadic
#5339AD #AD5339 #39AD53
tetradic
#5339AD #AD3959 #93AD39 #39AD8D
square
#5339AD #AD3959 #93AD39 #39AD8D
split-complementary
#5339AD #AD8D39 #59AD39
monochromatic
#271B51 #3D2A7F #5339AD #735AC9 #9A88D8

Accessibility & contrast

On white

8.21
#5339AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5339AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339AD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339AD#FFFFFF#000000##FFFFFF
##5339AD1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#31566E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5339ad;
/* rgb */ color: rgb(83, 57, 173);
/* oklch */ color: oklch(44.5% 0.175 287.3);
Tailwind
colors: {
  custom: {
    50: '#8c71c6',
    500: '#5339ad',
    950: '#000000',
  },
}
SCSS
$custom: #5339ad;
$custom-light: #8c71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5339ad",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 253.448,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44471,
    "c": 0.17521,
    "h": 287.3
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#5339AD
secondary
#B3C280
accent
#DA4EBB
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5339AD

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

Preview Lab → · Contrast checker → · Palette generator →

#5339AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva