#57257E#57257E

#57257E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.145 H 306.4°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#57257E
RGBrgb(87, 37, 126)
HSLhsl(274, 55%, 32%)
HSVhsv(274, 71%, 49%)
CMYKcmyk(31%, 70.6%, 0%, 50.6%)
CIE-LABlab(26.32, 39.92, -41.16)
CIE-LCHlch(26.32, 57.34, 314.12°)
OKLaboklab(38.24% 0.0862 -0.1167)
OKLCHoklch(38.24% 0.145 306.4)
XYZxyz(8.3571, 4.8558, 20.2316)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57257E #4C7E25
analogous
#2B257E #57257E #7E2579
triadic
#57257E #7E5725 #257E57
tetradic
#57257E #7E2B25 #4C7E25 #25797E
square
#57257E #7E2B25 #4C7E25 #25797E
split-complementary
#57257E #797E25 #257E2B
monochromatic
#16091F #36174F #57257E #7833AD #9651CC

Accessibility & contrast

On white

10.65
#57257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57257E
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57257E#FFFFFF#000000##FFFFFF
##57257E1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#0B3F7C
Tritanopia (blue-blind)
#50394E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57257e;
/* rgb */ color: rgb(87, 37, 126);
/* oklch */ color: oklch(38.2% 0.145 306.4);
Tailwind
colors: {
  custom: {
    50: '#8a64a4',
    500: '#57257e',
    950: '#000000',
  },
}
SCSS
$custom: #57257e;
$custom-light: #8a64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#57257e",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 273.708,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38239,
    "c": 0.14511,
    "h": 306.4
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#57257E
secondary
#79B04F
accent
#DE4A8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57257E

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

Preview Lab → · Contrast checker → · Palette generator →

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