#531973#531973

#531973 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.147 H 310.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#531973
RGBrgb(83, 25, 115)
HSLhsl(279, 64%, 27%)
HSVhsv(279, 78%, 45%)
CMYKcmyk(27.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(22.90, 41.98, -39.71)
CIE-LCHlch(22.90, 57.79, 316.59°)
OKLaboklab(35.42% 0.0953 -0.1125)
OKLCHoklch(35.42% 0.147 310.2)
XYZxyz(7.0088, 3.7722, 16.5752)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531973 #397319
analogous
#261973 #531973 #731966
triadic
#531973 #735319 #197353
tetradic
#531973 #732619 #397319 #196673
square
#531973 #732619 #397319 #196673
split-complementary
#531973 #667319 #197326
monochromatic
#120519 #2F0E41 #531973 #7724A5 #9A34D3

Accessibility & contrast

On white

11.97
#531973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#531973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531973
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531973#FFFFFF#000000##FFFFFF
##5319731.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#033871
Tritanopia (blue-blind)
#4F2E45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531973;
/* rgb */ color: rgb(83, 25, 115);
/* oklch */ color: oklch(35.4% 0.147 310.2);
Tailwind
colors: {
  custom: {
    50: '#875c9c',
    500: '#531973',
    950: '#000000',
  },
}
SCSS
$custom: #531973;
$custom-light: #875c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#531973",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 278.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.14745,
    "h": 310.2
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#531973
secondary
#65A840
accent
#E7417C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531973

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

Preview Lab → · Contrast checker → · Palette generator →

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