#53287E#53287E

#53287E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.140 H 303.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#53287E
RGBrgb(83, 40, 126)
HSLhsl(270, 52%, 33%)
HSVhsv(270, 68%, 49%)
CMYKcmyk(34.1%, 68.3%, 0%, 50.6%)
CIE-LABlab(26.34, 37.45, -41.15)
CIE-LCHlch(26.34, 55.64, 312.30°)
OKLaboklab(38.14% 0.0768 -0.1169)
OKLCHoklch(38.14% 0.14 303.3)
XYZxyz(8.0911, 4.8629, 20.2470)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53287E #537E28
analogous
#28287E #53287E #7E287E
triadic
#53287E #7E5328 #287E53
tetradic
#53287E #7E2828 #537E28 #287E7E
square
#53287E #7E2828 #537E28 #287E7E
split-complementary
#53287E #7E7E28 #287E28
monochromatic
#160B21 #341950 #53287E #7237AC #9057CA

Accessibility & contrast

On white

10.65
#53287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#53287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53287E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53287E#FFFFFF#000000##FFFFFF
##53287E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#4B3B4F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #53287e;
/* rgb */ color: rgb(83, 40, 126);
/* oklch */ color: oklch(38.1% 0.140 303.3);
Tailwind
colors: {
  custom: {
    50: '#8765a4',
    500: '#53287e',
    950: '#000000',
  },
}
SCSS
$custom: #53287e;
$custom-light: #8765a4;
$custom-dark: #000000;
JSON
{
  "hex": "#53287e",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 270,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.13985,
    "h": 303.3
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#53287E
secondary
#81AF53
accent
#DB4D94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #53287E

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

Preview Lab → · Contrast checker → · Palette generator →

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