#57165F#57165F

#57165F is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.133 H 323.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#57165F
RGBrgb(87, 22, 95)
HSLhsl(293, 62%, 23%)
HSVhsv(293, 77%, 37%)
CMYKcmyk(8.4%, 76.8%, 0%, 62.7%)
CIE-LABlab(21.68, 39.76, -28.62)
CIE-LCHlch(21.68, 48.99, 324.25°)
OKLaboklab(34.22% 0.1064 -0.0799)
OKLCHoklch(34.22% 0.133 323.1)
XYZxyz(6.2828, 3.4266, 11.1547)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57165F #1E5F16
analogous
#33165F #57165F #5F1642
triadic
#57165F #5F5716 #165F57
tetradic
#57165F #5F3316 #1E5F16 #16425F
square
#57165F #5F3316 #1E5F16 #16425F
split-complementary
#57165F #425F16 #165F33
monochromatic
#170619 #290A2D #57165F #852291 #B22DC2

Accessibility & contrast

On white

12.46
#57165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#57165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57165F
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57165F#FFFFFF#000000##FFFFFF
##57165F1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#22365D
Tritanopia (blue-blind)
#582339
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57165f;
/* rgb */ color: rgb(87, 22, 95);
/* oklch */ color: oklch(34.2% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#895b8d',
    500: '#57165f',
    950: '#000000',
  },
}
SCSS
$custom: #57165f;
$custom-light: #895b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#57165f",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 293.425,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34218,
    "c": 0.13306,
    "h": 323.1
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#57165F
secondary
#45963B
accent
#E54254
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57165F

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

Preview Lab → · Contrast checker → · Palette generator →

#57165F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva