#5339AC#5339AC

#5339AC is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.4% C 0.174 H 287.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5339AC
RGBrgb(83, 57, 172)
HSLhsl(254, 50%, 45%)
HSVhsv(254, 67%, 67%)
CMYKcmyk(51.7%, 66.9%, 0%, 32.5%)
CIE-LABlab(33.44, 40.98, -57.83)
CIE-LCHlch(33.44, 70.88, 305.33°)
OKLaboklab(44.39% 0.0523 -0.1659)
OKLCHoklch(44.39% 0.174 287.5)
XYZxyz(12.4746, 7.7432, 39.8590)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339AC #92AC39
analogous
#3959AC #5339AC #8C39AC
triadic
#5339AC #AC5339 #39AC53
tetradic
#5339AC #AC3959 #92AC39 #39AC8C
square
#5339AC #AC3959 #92AC39 #39AC8C
split-complementary
#5339AC #AC8C39 #59AC39
monochromatic
#271B50 #3D2A7E #5339AC #735AC8 #9A88D8

Accessibility & contrast

On white

8.24
#5339AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5339AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339AC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339AC#FFFFFF#000000##FFFFFF
##5339AC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#32566D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5339ac;
/* rgb */ color: rgb(83, 57, 172);
/* oklch */ color: oklch(44.4% 0.174 287.5);
Tailwind
colors: {
  custom: {
    50: '#8c71c6',
    500: '#5339ac',
    950: '#000000',
  },
}
SCSS
$custom: #5339ac;
$custom-light: #8c71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5339ac",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 253.565,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.17395,
    "h": 287.5
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#5339AC
secondary
#B3C27F
accent
#DA4EBA
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5339AC

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

Preview Lab → · Contrast checker → · Palette generator →

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