#5339AF#5339AF

#5339AF is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.6% C 0.178 H 287.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5339AF
RGBrgb(83, 57, 175)
HSLhsl(253, 51%, 45%)
HSVhsv(253, 67%, 69%)
CMYKcmyk(52.6%, 67.4%, 0%, 31.4%)
CIE-LABlab(33.69, 41.88, -59.21)
CIE-LCHlch(33.69, 72.53, 305.27°)
OKLaboklab(44.64% 0.0518 -0.17)
OKLCHoklch(44.64% 0.178 287)
XYZxyz(12.7660, 7.8598, 41.3935)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339AF #95AF39
analogous
#395AAF #5339AF #8E39AF
triadic
#5339AF #AF5339 #39AF53
tetradic
#5339AF #AF395A #95AF39 #39AF8E
square
#5339AF #AF395A #95AF39 #39AF8E
split-complementary
#5339AF #AF8E39 #5AAF39
monochromatic
#271B53 #3D2A81 #5339AF #745BCA #9B8AD9

Accessibility & contrast

On white

8.16
#5339AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5339AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339AF#FFFFFF#000000##FFFFFF
##5339AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#2F576F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5339af;
/* rgb */ color: rgb(83, 57, 175);
/* oklch */ color: oklch(44.6% 0.178 287.0);
Tailwind
colors: {
  custom: {
    50: '#8c71c8',
    500: '#5339af',
    950: '#000000',
  },
}
SCSS
$custom: #5339af;
$custom-light: #8c71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5339af",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 253.22,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.17773,
    "h": 287
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#5339AF
secondary
#B4C381
accent
#DA4DBB
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5339AF

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

Preview Lab → · Contrast checker → · Palette generator →

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