#57285D#57285D

#57285D is a dark, moderate purple. Relative luminance 0.043; OKLCH L 36.4% C 0.103 H 323.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#57285D
RGBrgb(87, 40, 93)
HSLhsl(293, 40%, 26%)
HSVhsv(293, 57%, 36%)
CMYKcmyk(6.5%, 57%, 0%, 63.5%)
CIE-LABlab(24.75, 30.55, -22.44)
CIE-LCHlch(24.75, 37.90, 323.70°)
OKLaboklab(36.41% 0.0823 -0.062)
OKLCHoklch(36.41% 0.103 323)
XYZxyz(6.6649, 4.3345, 10.8394)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57285D #2E5D28
analogous
#3C285D #57285D #5D2848
triadic
#57285D #5D5728 #285D57
tetradic
#57285D #5D3C28 #2E5D28 #28485D
square
#57285D #5D3C28 #2E5D28 #28485D
split-complementary
#57285D #485D28 #285D3C
monochromatic
#140915 #2F1632 #57285D #7F3A88 #A74DB2

Accessibility & contrast

On white

11.25
#57285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#57285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57285D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57285D#FFFFFF#000000##FFFFFF
##57285D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20375F
Deuteranopia (green-blind)
#2F3D5C
Tritanopia (blue-blind)
#582F3E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57285d;
/* rgb */ color: rgb(87, 40, 93);
/* oklch */ color: oklch(36.4% 0.103 323.0);
Tailwind
colors: {
  custom: {
    50: '#88648b',
    500: '#57285d',
    950: '#000000',
  },
}
SCSS
$custom: #57285d;
$custom-light: #88648b;
$custom-dark: #000000;
JSON
{
  "hex": "#57285d",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 293.208,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36405,
    "c": 0.10305,
    "h": 323
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#57285D
secondary
#589051
accent
#D05866
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0B050C
muted
#7C7A7D

Preview Lab

Preview with #57285D

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

Preview Lab → · Contrast checker → · Palette generator →

#57285D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva