#57258C#57258C

#57258C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.161 H 301.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#57258C
RGBrgb(87, 37, 140)
HSLhsl(269, 58%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(37.9%, 73.6%, 0%, 45.1%)
CIE-LABlab(27.42, 43.47, -48.14)
CIE-LCHlch(27.42, 64.86, 312.08°)
OKLaboklab(39.36% 0.0839 -0.1373)
OKLCHoklch(39.36% 0.161 301.4)
XYZxyz(9.3245, 5.2428, 25.3266)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258C #5A8C25
analogous
#25278C #57258C #8B258C
triadic
#57258C #8C5725 #258C57
tetradic
#57258C #8C2527 #5A8C25 #258C8B
square
#57258C #8C2527 #5A8C25 #258C8B
split-complementary
#57258C #8C8B25 #278C25
monochromatic
#1B0B2B #39185C #57258C #7532BC #9458D3

Accessibility & contrast

On white

10.25
#57258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57258C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258C#FFFFFF#000000##FFFFFF
##57258C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4C3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57258c;
/* rgb */ color: rgb(87, 37, 140);
/* oklch */ color: oklch(39.4% 0.161 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b64ae',
    500: '#57258c',
    950: '#000000',
  },
}
SCSS
$custom: #57258c;
$custom-light: #8b64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57258c",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 269.126,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.16088,
    "h": 301.4
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#57258C
secondary
#88B855
accent
#E14696
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57258C

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

Preview Lab → · Contrast checker → · Palette generator →

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