#571265#571265

#571265 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.143 H 320.1°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#571265
RGBrgb(87, 18, 101)
HSLhsl(290, 70%, 23%)
HSVhsv(290, 82%, 40%)
CMYKcmyk(13.9%, 82.2%, 0%, 60.4%)
CIE-LABlab(21.58, 42.46, -32.74)
CIE-LCHlch(21.58, 53.62, 322.37°)
OKLaboklab(34.28% 0.1099 -0.0919)
OKLCHoklch(34.28% 0.143 320.1)
XYZxyz(6.4955, 3.3988, 12.6233)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571265 #206512
analogous
#2D1265 #571265 #651249
triadic
#571265 #655712 #126557
tetradic
#571265 #652D12 #206512 #124965
square
#571265 #652D12 #206512 #124965
split-complementary
#571265 #496512 #12652D
monochromatic
#16051A #2A0931 #571265 #841B99 #B025CD

Accessibility & contrast

On white

12.50
#571265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#571265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571265
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571265#FFFFFF#000000##FFFFFF
##5712651.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#1A3663
Tritanopia (blue-blind)
#57243B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #571265;
/* rgb */ color: rgb(87, 18, 101);
/* oklch */ color: oklch(34.3% 0.143 320.1);
Tailwind
colors: {
  custom: {
    50: '#8a5991',
    500: '#571265',
    950: '#000000',
  },
}
SCSS
$custom: #571265;
$custom-light: #8a5991;
$custom-dark: #000000;
JSON
{
  "hex": "#571265",
  "rgb": {
    "r": 87,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 289.88,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.14321,
    "h": 320.1
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#571265
secondary
#479D36
accent
#ED3B59
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #571265

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

Preview Lab → · Contrast checker → · Palette generator →

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