#531058#531058

#531058 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.132 H 324.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#531058
RGBrgb(83, 16, 88)
HSLhsl(296, 69%, 20%)
HSVhsv(296, 82%, 35%)
CMYKcmyk(5.7%, 81.8%, 0%, 65.5%)
CIE-LABlab(19.70, 39.69, -27.17)
CIE-LCHlch(19.70, 48.09, 325.61°)
OKLaboklab(32.52% 0.1079 -0.0757)
OKLCHoklch(32.52% 0.132 324.9)
XYZxyz(5.5139, 2.9145, 9.5028)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531058 #155810
analogous
#2F1058 #531058 #581039
triadic
#531058 #585310 #105853
tetradic
#531058 #582F10 #155810 #103958
square
#531058 #582F10 #155810 #103958
split-complementary
#531058 #395810 #10582F
monochromatic
#18051A #220724 #531058 #84198C #B523C0

Accessibility & contrast

On white

13.27
#531058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#531058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531058
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531058#FFFFFF#000000##FFFFFF
##5310581.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#551D33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #531058;
/* rgb */ color: rgb(83, 16, 88);
/* oklch */ color: oklch(32.5% 0.132 324.9);
Tailwind
colors: {
  custom: {
    50: '#865787',
    500: '#531058',
    950: '#000000',
  },
}
SCSS
$custom: #531058;
$custom-light: #865787;
$custom-dark: #000000;
JSON
{
  "hex": "#531058",
  "rgb": {
    "r": 83,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 295.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32515,
    "c": 0.13181,
    "h": 324.9
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#531058
secondary
#399132
accent
#EC3C48
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #531058

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

Preview Lab → · Contrast checker → · Palette generator →

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