#57266A#57266A

#57266A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 36.9% C 0.121 H 315.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#57266A
RGBrgb(87, 38, 106)
HSLhsl(283, 47%, 28%)
HSVhsv(283, 64%, 42%)
CMYKcmyk(17.9%, 64.2%, 0%, 58.4%)
CIE-LABlab(25.12, 34.57, -30.32)
CIE-LCHlch(25.12, 45.99, 318.75°)
OKLaboklab(36.93% 0.0861 -0.0849)
OKLCHoklch(36.93% 0.121 315.4)
XYZxyz(7.2247, 4.4533, 14.1119)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57266A #396A26
analogous
#35266A #57266A #6A265B
triadic
#57266A #6A5726 #266A57
tetradic
#57266A #6A3526 #396A26 #265B6A
square
#57266A #6A3526 #396A26 #265B6A
split-complementary
#57266A #5B6A26 #266A35
monochromatic
#120817 #32163D #57266A #7C3697 #9F4CBF

Accessibility & contrast

On white

11.11
#57266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#57266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57266A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57266A#FFFFFF#000000##FFFFFF
##57266A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396C
Deuteranopia (green-blind)
#253D68
Tritanopia (blue-blind)
#563244
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57266a;
/* rgb */ color: rgb(87, 38, 106);
/* oklch */ color: oklch(36.9% 0.121 315.4);
Tailwind
colors: {
  custom: {
    50: '#896395',
    500: '#57266a',
    950: '#000000',
  },
}
SCSS
$custom: #57266a;
$custom-light: #896395;
$custom-dark: #000000;
JSON
{
  "hex": "#57266a",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 283.235,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36927,
    "c": 0.12097,
    "h": 315.4
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#57266A
secondary
#659D4F
accent
#D75176
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0C050D
muted
#7D7A7E

Preview Lab

Preview with #57266A

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

Preview Lab → · Contrast checker → · Palette generator →

#57266A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva