#5337A7#5337A7

#5337A7 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.7% C 0.170 H 288.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#5337A7
RGBrgb(83, 55, 167)
HSLhsl(255, 50%, 44%)
HSVhsv(255, 67%, 65%)
CMYKcmyk(50.3%, 67.1%, 0%, 34.5%)
CIE-LABlab(32.61, 40.63, -56.18)
CIE-LCHlch(32.61, 69.33, 305.88°)
OKLaboklab(43.66% 0.0549 -0.1611)
OKLCHoklch(43.66% 0.17 288.8)
XYZxyz(11.9065, 7.3609, 37.3452)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337A7 #8BA737
analogous
#3753A7 #5337A7 #8B37A7
triadic
#5337A7 #A75337 #37A753
tetradic
#5337A7 #A73753 #8BA737 #37A78B
square
#5337A7 #A73753 #8BA737 #37A78B
split-complementary
#5337A7 #A78B37 #53A737
monochromatic
#25194B #3C2879 #5337A7 #7154C7 #9782D6

Accessibility & contrast

On white

8.49
#5337A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5337A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5337A7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5337A7#FFFFFF#000000##FFFFFF
##5337A71.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#36536A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5337a7;
/* rgb */ color: rgb(83, 55, 167);
/* oklch */ color: oklch(43.7% 0.170 288.8);
Tailwind
colors: {
  custom: {
    50: '#8b70c2',
    500: '#5337a7',
    950: '#000000',
  },
}
SCSS
$custom: #5337a7;
$custom-light: #8b70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5337a7",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 255,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.17018,
    "h": 288.8
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#5337A7
secondary
#AEC07A
accent
#DA4EB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5337A7

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

Preview Lab → · Contrast checker → · Palette generator →

#5337A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva