#57258E#57258E

#57258E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.163 H 300.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#57258E
RGBrgb(87, 37, 142)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 56%)
CMYKcmyk(38.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(27.58, 43.98, -49.12)
CIE-LCHlch(27.58, 65.93, 311.84°)
OKLaboklab(39.53% 0.0835 -0.1401)
OKLCHoklch(39.53% 0.163 300.8)
XYZxyz(9.4733, 5.3023, 26.1103)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258E #5C8E25
analogous
#25288E #57258E #8B258E
triadic
#57258E #8E5725 #258E57
tetradic
#57258E #8E2528 #5C8E25 #258E8B
square
#57258E #8E2528 #5C8E25 #258E8B
split-complementary
#57258E #8E8B25 #288E25
monochromatic
#1C0C2D #39185D #57258E #7532BF #945AD4

Accessibility & contrast

On white

10.19
#57258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#57258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57258E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258E#FFFFFF#000000##FFFFFF
##57258E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57258e;
/* rgb */ color: rgb(87, 37, 142);
/* oklch */ color: oklch(39.5% 0.163 300.8);
Tailwind
colors: {
  custom: {
    50: '#8c64b0',
    500: '#57258e',
    950: '#000000',
  },
}
SCSS
$custom: #57258e;
$custom-light: #8c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57258e",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 268.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.16311,
    "h": 300.8
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#57258E
secondary
#8AB956
accent
#E24698
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57258E

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

Preview Lab → · Contrast checker → · Palette generator →

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