#57258B#57258B

#57258B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.160 H 301.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#57258B
RGBrgb(87, 37, 139)
HSLhsl(269, 58%, 35%)
HSVhsv(269, 73%, 55%)
CMYKcmyk(37.4%, 73.4%, 0%, 45.5%)
CIE-LABlab(27.33, 43.21, -47.66)
CIE-LCHlch(27.33, 64.33, 312.20°)
OKLaboklab(39.28% 0.0841 -0.1358)
OKLCHoklch(39.28% 0.16 301.8)
XYZxyz(9.2511, 5.2134, 24.9400)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258B #598B25
analogous
#25268B #57258B #8A258B
triadic
#57258B #8B5725 #258B57
tetradic
#57258B #8B2526 #598B25 #258B8A
square
#57258B #8B2526 #598B25 #258B8A
split-complementary
#57258B #8B8A25 #268B25
monochromatic
#1A0B2A #39185B #57258B #7532BB #9458D3

Accessibility & contrast

On white

10.28
#57258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57258B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258B#FFFFFF#000000##FFFFFF
##57258B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4C3E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57258b;
/* rgb */ color: rgb(87, 37, 139);
/* oklch */ color: oklch(39.3% 0.160 301.8);
Tailwind
colors: {
  custom: {
    50: '#8b64ae',
    500: '#57258b',
    950: '#000000',
  },
}
SCSS
$custom: #57258b;
$custom-light: #8b64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57258b",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 269.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.15975,
    "h": 301.8
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#57258B
secondary
#87B755
accent
#E14795
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57258B

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

Preview Lab → · Contrast checker → · Palette generator →

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