#57258D#57258D

#57258D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.162 H 301.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#57258D
RGBrgb(87, 37, 141)
HSLhsl(269, 58%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(38.3%, 73.8%, 0%, 44.7%)
CIE-LABlab(27.50, 43.72, -48.63)
CIE-LCHlch(27.50, 65.40, 311.96°)
OKLaboklab(39.45% 0.0837 -0.1387)
OKLCHoklch(39.45% 0.162 301.1)
XYZxyz(9.3986, 5.2724, 25.7167)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258D #5B8D25
analogous
#25278D #57258D #8B258D
triadic
#57258D #8D5725 #258D57
tetradic
#57258D #8D2527 #5B8D25 #258D8B
square
#57258D #8D2527 #5B8D25 #258D8B
split-complementary
#57258D #8D8B25 #278D25
monochromatic
#1B0C2C #39185D #57258D #7532BD #9459D3

Accessibility & contrast

On white

10.22
#57258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#57258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57258D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258D#FFFFFF#000000##FFFFFF
##57258D1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4B3F57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57258d;
/* rgb */ color: rgb(87, 37, 141);
/* oklch */ color: oklch(39.4% 0.162 301.1);
Tailwind
colors: {
  custom: {
    50: '#8b64af',
    500: '#57258d',
    950: '#000000',
  },
}
SCSS
$custom: #57258d;
$custom-light: #8b64af;
$custom-dark: #000000;
JSON
{
  "hex": "#57258d",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 268.846,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.16199,
    "h": 301.1
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#57258D
secondary
#89B856
accent
#E24697
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57258D

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

Preview Lab → · Contrast checker → · Palette generator →

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