#531858#531858

#531858 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.122 H 324.5°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#531858
RGBrgb(83, 24, 88)
HSLhsl(295, 57%, 22%)
HSVhsv(295, 73%, 35%)
CMYKcmyk(5.7%, 72.7%, 0%, 65.5%)
CIE-LABlab(20.82, 36.50, -25.38)
CIE-LCHlch(20.82, 44.46, 325.19°)
OKLaboklab(33.32% 0.0991 -0.0706)
OKLCHoklch(33.32% 0.122 324.5)
XYZxyz(5.6552, 3.1972, 9.5499)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531858 #1D5818
analogous
#331858 #531858 #58183D
triadic
#531858 #585318 #185853
tetradic
#531858 #583318 #1D5818 #183D58
square
#531858 #583318 #1D5818 #183D58
split-complementary
#531858 #3D5818 #185833
monochromatic
#170718 #260B28 #531858 #802588 #AE32B8

Accessibility & contrast

On white

12.81
#531858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#531858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531858
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531858#FFFFFF#000000##FFFFFF
##5318581.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D5A
Deuteranopia (green-blind)
#243556
Tritanopia (blue-blind)
#552236
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531858;
/* rgb */ color: rgb(83, 24, 88);
/* oklch */ color: oklch(33.3% 0.122 324.5);
Tailwind
colors: {
  custom: {
    50: '#865b87',
    500: '#531858',
    950: '#000000',
  },
}
SCSS
$custom: #531858;
$custom-light: #865b87;
$custom-dark: #000000;
JSON
{
  "hex": "#531858",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 295.313,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.12167,
    "h": 324.5
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#531858
secondary
#448F3D
accent
#E04753
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #531858

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

Preview Lab → · Contrast checker → · Palette generator →

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