#531665#531665

#531665 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.137 H 317.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#531665
RGBrgb(83, 22, 101)
HSLhsl(286, 64%, 24%)
HSVhsv(286, 78%, 40%)
CMYKcmyk(17.8%, 78.2%, 0%, 60.4%)
CIE-LABlab(21.40, 40.08, -33.05)
CIE-LCHlch(21.40, 51.95, 320.49°)
OKLaboklab(34.02% 0.1006 -0.093)
OKLCHoklch(34.02% 0.137 317.3)
XYZxyz(6.2028, 3.3527, 12.6298)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531665 #286516
analogous
#2C1665 #531665 #651650
triadic
#531665 #655316 #166553
tetradic
#531665 #652C16 #286516 #165065
square
#531665 #652C16 #286516 #165065
split-complementary
#531665 #506516 #16652C
monochromatic
#150519 #2A0B33 #531665 #7C2197 #A62CCA

Accessibility & contrast

On white

12.57
#531665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531665
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531665#FFFFFF#000000##FFFFFF
##5316651.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#183563
Tritanopia (blue-blind)
#52273C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #531665;
/* rgb */ color: rgb(83, 22, 101);
/* oklch */ color: oklch(34.0% 0.137 317.3);
Tailwind
colors: {
  custom: {
    50: '#865a91',
    500: '#531665',
    950: '#000000',
  },
}
SCSS
$custom: #531665;
$custom-light: #865a91;
$custom-dark: #000000;
JSON
{
  "hex": "#531665",
  "rgb": {
    "r": 83,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 286.329,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.13697,
    "h": 317.3
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#531665
secondary
#519C3B
accent
#E74167
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531665

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

Preview Lab → · Contrast checker → · Palette generator →

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