#53318A#53318A

#53318A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.142 H 297.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#53318A
RGBrgb(83, 49, 138)
HSLhsl(263, 48%, 37%)
HSVhsv(263, 64%, 54%)
CMYKcmyk(39.9%, 64.5%, 0%, 45.9%)
CIE-LABlab(29.08, 35.68, -44.22)
CIE-LCHlch(29.08, 56.82, 308.90°)
OKLaboklab(40.4% 0.0648 -0.1259)
OKLCHoklch(40.4% 0.142 297.2)
XYZxyz(9.2519, 5.8705, 24.6855)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53318A #688A31
analogous
#313C8A #53318A #80318A
triadic
#53318A #8A5331 #318A53
tetradic
#53318A #8A313C #688A31 #318A80
square
#53318A #8A313C #688A31 #318A80
split-complementary
#53318A #8A8031 #3C8A31
monochromatic
#1D1130 #38215D #53318A #6E41B7 #8F6BCA

Accessibility & contrast

On white

9.66
#53318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#53318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53318A
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53318A#FFFFFF#000000##FFFFFF
##53318A1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#014388
Tritanopia (blue-blind)
#464559
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #53318a;
/* rgb */ color: rgb(83, 49, 138);
/* oklch */ color: oklch(40.4% 0.142 297.2);
Tailwind
colors: {
  custom: {
    50: '#886bad',
    500: '#53318a',
    950: '#000000',
  },
}
SCSS
$custom: #53318a;
$custom-light: #886bad;
$custom-dark: #000000;
JSON
{
  "hex": "#53318a",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 262.921,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.404,
    "c": 0.1416,
    "h": 297.2
  },
  "luminance": 0.05871
}

Semantic roles & 50–950 ramp

primary
#53318A
secondary
#94B265
accent
#D751A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #53318A

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

Preview Lab → · Contrast checker → · Palette generator →

#53318A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva