#531575#531575

#531575 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.154 H 309.8°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#531575
RGBrgb(83, 21, 117)
HSLhsl(279, 70%, 27%)
HSVhsv(279, 82%, 46%)
CMYKcmyk(29.1%, 82.1%, 0%, 54.1%)
CIE-LABlab(22.51, 44.03, -41.63)
CIE-LCHlch(22.51, 60.60, 316.61°)
OKLaboklab(35.19% 0.0986 -0.1182)
OKLCHoklch(35.19% 0.154 309.8)
XYZxyz(7.0457, 3.6598, 17.1614)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531575 #377515
analogous
#231575 #531575 #751567
triadic
#531575 #755315 #157553
tetradic
#531575 #752315 #377515 #156775
square
#531575 #752315 #377515 #156775
split-complementary
#531575 #677515 #157523
monochromatic
#12051A #2E0C41 #531575 #781EA9 #9C2BD9

Accessibility & contrast

On white

12.12
#531575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#531575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531575
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531575#FFFFFF#000000##FFFFFF
##5315751.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4E2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #531575;
/* rgb */ color: rgb(83, 21, 117);
/* oklch */ color: oklch(35.2% 0.154 309.8);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#531575',
    950: '#000000',
  },
}
SCSS
$custom: #531575;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#531575",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 278.75,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35194,
    "c": 0.15387,
    "h": 309.8
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#531575
secondary
#63AB3B
accent
#EC3B7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531575

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

Preview Lab → · Contrast checker → · Palette generator →

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