#57298D#57298D

#57298D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.157 H 300.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#57298D
RGBrgb(87, 41, 141)
HSLhsl(268, 55%, 36%)
HSVhsv(268, 71%, 55%)
CMYKcmyk(38.3%, 70.9%, 0%, 44.7%)
CIE-LABlab(28.21, 41.73, -47.48)
CIE-LCHlch(28.21, 63.21, 311.32°)
OKLaboklab(39.95% 0.0795 -0.1353)
OKLCHoklch(39.95% 0.157 300.4)
XYZxyz(9.5300, 5.5351, 25.7604)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57298D #5F8D29
analogous
#292D8D #57298D #89298D
triadic
#57298D #8D5729 #298D57
tetradic
#57298D #8D292D #5F8D29 #298D89
square
#57298D #8D292D #5F8D29 #298D89
split-complementary
#57298D #8D8929 #2D8D29
monochromatic
#1C0D2E #3A1B5E #57298D #7437BC #9460D1

Accessibility & contrast

On white

9.97
#57298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#57298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57298D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57298D#FFFFFF#000000##FFFFFF
##57298D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#4B4158
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57298d;
/* rgb */ color: rgb(87, 41, 141);
/* oklch */ color: oklch(40.0% 0.157 300.4);
Tailwind
colors: {
  custom: {
    50: '#8b66af',
    500: '#57298d',
    950: '#000000',
  },
}
SCSS
$custom: #57298d;
$custom-light: #8b66af;
$custom-dark: #000000;
JSON
{
  "hex": "#57298d",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 267.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.15693,
    "h": 300.4
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#57298D
secondary
#8DB65B
accent
#DE4A9A
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57298D

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

Preview Lab → · Contrast checker → · Palette generator →

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