#57258A#57258A

#57258A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.159 H 302.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#57258A
RGBrgb(87, 37, 138)
HSLhsl(270, 58%, 34%)
HSVhsv(270, 73%, 54%)
CMYKcmyk(37%, 73.2%, 0%, 45.9%)
CIE-LABlab(27.25, 42.96, -47.17)
CIE-LCHlch(27.25, 63.79, 312.33°)
OKLaboklab(39.2% 0.0843 -0.1344)
OKLCHoklch(39.2% 0.159 302.1)
XYZxyz(9.1784, 5.1843, 24.5570)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258A #588A25
analogous
#25268A #57258A #8A258A
triadic
#57258A #8A5725 #258A57
tetradic
#57258A #8A2526 #588A25 #258A8A
square
#57258A #8A2526 #588A25 #258A8A
split-complementary
#57258A #8A8A25 #268A25
monochromatic
#1A0B29 #39185A #57258A #7532BA #9457D2

Accessibility & contrast

On white

10.31
#57258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#57258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57258A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258A#FFFFFF#000000##FFFFFF
##57258A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4C3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #57258a;
/* rgb */ color: rgb(87, 37, 138);
/* oklch */ color: oklch(39.2% 0.159 302.1);
Tailwind
colors: {
  custom: {
    50: '#8b64ad',
    500: '#57258a',
    950: '#000000',
  },
}
SCSS
$custom: #57258a;
$custom-light: #8b64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#57258a",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 269.703,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.15863,
    "h": 302.1
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#57258A
secondary
#86B754
accent
#E14795
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57258A

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

Preview Lab → · Contrast checker → · Palette generator →

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