#57257D#57257D

#57257D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.144 H 306.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#57257D
RGBrgb(87, 37, 125)
HSLhsl(274, 54%, 32%)
HSVhsv(274, 70%, 49%)
CMYKcmyk(30.4%, 70.4%, 0%, 51%)
CIE-LABlab(26.25, 39.67, -40.65)
CIE-LCHlch(26.25, 56.80, 314.30°)
OKLaboklab(38.16% 0.0863 -0.1152)
OKLCHoklch(38.16% 0.144 306.8)
XYZxyz(8.2929, 4.8301, 19.8935)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57257D #4B7D25
analogous
#2B257D #57257D #7D2577
triadic
#57257D #7D5725 #257D57
tetradic
#57257D #7D2B25 #4B7D25 #25777D
square
#57257D #7D2B25 #4B7D25 #25777D
split-complementary
#57257D #777D25 #257D2B
monochromatic
#15091F #36174E #57257D #7833AC #9751CB

Accessibility & contrast

On white

10.68
#57257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#57257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57257D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57257D#FFFFFF#000000##FFFFFF
##57257D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#0D3E7B
Tritanopia (blue-blind)
#51384E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57257d;
/* rgb */ color: rgb(87, 37, 125);
/* oklch */ color: oklch(38.2% 0.144 306.8);
Tailwind
colors: {
  custom: {
    50: '#8a64a3',
    500: '#57257d',
    950: '#000000',
  },
}
SCSS
$custom: #57257d;
$custom-light: #8a64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57257d",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 274.091,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.14398,
    "h": 306.8
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#57257D
secondary
#78AF4F
accent
#DE4A8A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57257D

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

Preview Lab → · Contrast checker → · Palette generator →

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