#531265#531265

#531265 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.142 H 317.6°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#531265
RGBrgb(83, 18, 101)
HSLhsl(287, 70%, 23%)
HSVhsv(287, 82%, 40%)
CMYKcmyk(17.8%, 82.2%, 0%, 60.4%)
CIE-LABlab(20.87, 41.61, -33.91)
CIE-LCHlch(20.87, 53.67, 320.82°)
OKLaboklab(33.64% 0.1045 -0.0954)
OKLCHoklch(33.64% 0.142 317.6)
XYZxyz(6.1322, 3.2115, 12.6063)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531265 #246512
analogous
#291265 #531265 #65124D
triadic
#531265 #655312 #126553
tetradic
#531265 #652912 #246512 #124D65
square
#531265 #652912 #246512 #124D65
split-complementary
#531265 #4D6512 #126529
monochromatic
#15051A #280931 #531265 #7E1B99 #A825CD

Accessibility & contrast

On white

12.79
#531265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531265
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531265#FFFFFF#000000##FFFFFF
##5312651.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#153463
Tritanopia (blue-blind)
#52243B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #531265;
/* rgb */ color: rgb(83, 18, 101);
/* oklch */ color: oklch(33.6% 0.142 317.6);
Tailwind
colors: {
  custom: {
    50: '#875991',
    500: '#531265',
    950: '#000000',
  },
}
SCSS
$custom: #531265;
$custom-light: #875991;
$custom-dark: #000000;
JSON
{
  "hex": "#531265",
  "rgb": {
    "r": 83,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 286.988,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33642,
    "c": 0.14155,
    "h": 317.6
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#531265
secondary
#4C9D36
accent
#ED3B62
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #531265

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

Preview Lab → · Contrast checker → · Palette generator →

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