#57298C#57298C

#57298C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.156 H 300.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#57298C
RGBrgb(87, 41, 140)
HSLhsl(268, 55%, 35%)
HSVhsv(268, 71%, 55%)
CMYKcmyk(37.9%, 70.7%, 0%, 45.1%)
CIE-LABlab(28.13, 41.47, -46.99)
CIE-LCHlch(28.13, 62.67, 311.43°)
OKLaboklab(39.87% 0.0797 -0.1339)
OKLCHoklch(39.87% 0.156 300.7)
XYZxyz(9.4559, 5.5055, 25.3703)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57298C #5E8C29
analogous
#292C8C #57298C #88298C
triadic
#57298C #8C5729 #298C57
tetradic
#57298C #8C292C #5E8C29 #298C88
square
#57298C #8C292C #5E8C29 #298C88
split-complementary
#57298C #8C8829 #2C8C29
monochromatic
#1C0D2D #3A1B5D #57298C #7437BB #945FD0

Accessibility & contrast

On white

9.99
#57298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#57298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57298C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57298C#FFFFFF#000000##FFFFFF
##57298C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#4B4057
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57298c;
/* rgb */ color: rgb(87, 41, 140);
/* oklch */ color: oklch(39.9% 0.156 300.7);
Tailwind
colors: {
  custom: {
    50: '#8b66ae',
    500: '#57298c',
    950: '#000000',
  },
}
SCSS
$custom: #57298c;
$custom-light: #8b66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57298c",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 267.879,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.15578,
    "h": 300.7
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#57298C
secondary
#8CB65B
accent
#DE4A99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57298C

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

Preview Lab → · Contrast checker → · Palette generator →

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