#531865#531865

#531865 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.134 H 317.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#531865
RGBrgb(83, 24, 101)
HSLhsl(286, 62%, 25%)
HSVhsv(286, 76%, 40%)
CMYKcmyk(17.8%, 76.2%, 0%, 60.4%)
CIE-LABlab(21.70, 39.24, -32.58)
CIE-LCHlch(21.70, 51.00, 320.30°)
OKLaboklab(34.23% 0.0984 -0.0916)
OKLCHoklch(34.23% 0.134 317.1)
XYZxyz(6.2425, 3.4321, 12.6430)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531865 #2A6518
analogous
#2D1865 #531865 #651851
triadic
#531865 #655318 #186553
tetradic
#531865 #652D18 #2A6518 #185165
square
#531865 #652D18 #2A6518 #185165
split-complementary
#531865 #516518 #18652D
monochromatic
#140619 #2A0C34 #531865 #7C2496 #A430C8

Accessibility & contrast

On white

12.45
#531865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#531865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531865
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531865#FFFFFF#000000##FFFFFF
##5318651.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#193663
Tritanopia (blue-blind)
#52283D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #531865;
/* rgb */ color: rgb(83, 24, 101);
/* oklch */ color: oklch(34.2% 0.134 317.1);
Tailwind
colors: {
  custom: {
    50: '#865b91',
    500: '#531865',
    950: '#000000',
  },
}
SCSS
$custom: #531865;
$custom-light: #865b91;
$custom-dark: #000000;
JSON
{
  "hex": "#531865",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 285.974,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.13445,
    "h": 317.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#531865
secondary
#549B3E
accent
#E54369
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #531865

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

Preview Lab → · Contrast checker → · Palette generator →

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