#5337AA#5337AA

#5337AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.9% C 0.174 H 288.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#5337AA
RGBrgb(83, 55, 170)
HSLhsl(255, 51%, 44%)
HSVhsv(255, 68%, 67%)
CMYKcmyk(51.2%, 67.6%, 0%, 33.3%)
CIE-LABlab(32.86, 41.52, -57.58)
CIE-LCHlch(32.86, 70.99, 305.80°)
OKLaboklab(43.92% 0.0545 -0.1652)
OKLCHoklch(43.92% 0.174 288.3)
XYZxyz(12.1871, 7.4731, 38.8227)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5337AA #8EAA37
analogous
#3755AA #5337AA #8D37AA
triadic
#5337AA #AA5337 #37AA53
tetradic
#5337AA #AA3755 #8EAA37 #37AA8D
square
#5337AA #AA3755 #8EAA37 #37AA8D
split-complementary
#5337AA #AA8D37 #55AA37
monochromatic
#26194E #3C287C #5337AA #7256C8 #9884D7

Accessibility & contrast

On white

8.42
#5337AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5337AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5337AA#FFFFFF#000000##FFFFFF
##5337AA1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#34546C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5337aa;
/* rgb */ color: rgb(83, 55, 170);
/* oklch */ color: oklch(43.9% 0.174 288.3);
Tailwind
colors: {
  custom: {
    50: '#8b70c4',
    500: '#5337aa',
    950: '#000000',
  },
}
SCSS
$custom: #5337aa;
$custom-light: #8b70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5337aa",
  "rgb": {
    "r": 83,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 254.609,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.17395,
    "h": 288.3
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#5337AA
secondary
#B0C17C
accent
#DB4DB8
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5337AA

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

Preview Lab → · Contrast checker → · Palette generator →

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