#53287F#53287F

#53287F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.141 H 302.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#53287F
RGBrgb(83, 40, 127)
HSLhsl(270, 52%, 33%)
HSVhsv(270, 69%, 50%)
CMYKcmyk(34.6%, 68.5%, 0%, 50.2%)
CIE-LABlab(26.42, 37.71, -41.66)
CIE-LCHlch(26.42, 56.19, 312.15°)
OKLaboklab(38.21% 0.0767 -0.1184)
OKLCHoklch(38.21% 0.141 302.9)
XYZxyz(8.1559, 4.8889, 20.5885)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53287F #547F28
analogous
#28287F #53287F #7E287F
triadic
#53287F #7F5328 #287F53
tetradic
#53287F #7F2828 #547F28 #287F7E
square
#53287F #7F2828 #547F28 #287F7E
split-complementary
#53287F #7F7E28 #287F28
monochromatic
#160B22 #351950 #53287F #7137AE #9057CA

Accessibility & contrast

On white

10.62
#53287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#53287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53287F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53287F#FFFFFF#000000##FFFFFF
##53287F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#053E7D
Tritanopia (blue-blind)
#4A3B50
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53287f;
/* rgb */ color: rgb(83, 40, 127);
/* oklch */ color: oklch(38.2% 0.141 302.9);
Tailwind
colors: {
  custom: {
    50: '#8765a5',
    500: '#53287f',
    950: '#000000',
  },
}
SCSS
$custom: #53287f;
$custom-light: #8765a5;
$custom-dark: #000000;
JSON
{
  "hex": "#53287f",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 269.655,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.14105,
    "h": 302.9
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#53287F
secondary
#82AF54
accent
#DC4C95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #53287F

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

Preview Lab → · Contrast checker → · Palette generator →

#53287F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva