#531666#531666

#531666 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.138 H 316.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#531666
RGBrgb(83, 22, 102)
HSLhsl(286, 65%, 24%)
HSVhsv(286, 78%, 40%)
CMYKcmyk(18.6%, 78.4%, 0%, 60%)
CIE-LABlab(21.48, 40.30, -33.59)
CIE-LCHlch(21.48, 52.46, 320.19°)
OKLaboklab(34.09% 0.1005 -0.0945)
OKLCHoklch(34.09% 0.138 316.7)
XYZxyz(6.2521, 3.3724, 12.8894)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531666 #296616
analogous
#2B1666 #531666 #661651
triadic
#531666 #665316 #166653
tetradic
#531666 #662B16 #296616 #165166
square
#531666 #662B16 #296616 #165166
split-complementary
#531666 #516616 #16662B
monochromatic
#140519 #2A0B34 #531666 #7C2198 #A52CCB

Accessibility & contrast

On white

12.54
#531666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#531666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531666
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531666#FFFFFF#000000##FFFFFF
##5316661.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003068
Deuteranopia (green-blind)
#173564
Tritanopia (blue-blind)
#52273D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531666;
/* rgb */ color: rgb(83, 22, 102);
/* oklch */ color: oklch(34.1% 0.138 316.7);
Tailwind
colors: {
  custom: {
    50: '#865a92',
    500: '#531666',
    950: '#000000',
  },
}
SCSS
$custom: #531666;
$custom-light: #865a92;
$custom-dark: #000000;
JSON
{
  "hex": "#531666",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 285.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34094,
    "c": 0.13794,
    "h": 316.7
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#531666
secondary
#529D3B
accent
#E84068
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531666

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

Preview Lab → · Contrast checker → · Palette generator →

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