#531273#531273

#531273 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.155 H 311.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#531273
RGBrgb(83, 18, 115)
HSLhsl(280, 73%, 26%)
HSVhsv(280, 84%, 45%)
CMYKcmyk(27.8%, 84.3%, 0%, 54.9%)
CIE-LABlab(21.98, 44.65, -41.21)
CIE-LCHlch(21.98, 60.76, 317.29°)
OKLaboklab(34.77% 0.1016 -0.1169)
OKLCHoklch(34.77% 0.155 311)
XYZxyz(6.8775, 3.5096, 16.5315)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531273 #327312
analogous
#221273 #531273 #731262
triadic
#531273 #735312 #127353
tetradic
#531273 #732212 #327312 #126273
square
#531273 #732212 #327312 #126273
split-complementary
#531273 #627312 #127322
monochromatic
#13041A #2D0A3E #531273 #791AA8 #9F23DD

Accessibility & contrast

On white

12.34
#531273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#531273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531273
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531273#FFFFFF#000000##FFFFFF
##5312731.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#4F2B43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #531273;
/* rgb */ color: rgb(83, 18, 115);
/* oklch */ color: oklch(34.8% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#88599c',
    500: '#531273',
    950: '#000000',
  },
}
SCSS
$custom: #531273;
$custom-light: #88599c;
$custom-dark: #000000;
JSON
{
  "hex": "#531273",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 280.206,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34769,
    "c": 0.15488,
    "h": 311
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#531273
secondary
#5DAA37
accent
#F03875
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531273

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

Preview Lab → · Contrast checker → · Palette generator →

#531273 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva