#57299A#57299A

#57299A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.172 H 296.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#57299A
RGBrgb(87, 41, 154)
HSLhsl(264, 58%, 38%)
HSVhsv(264, 73%, 60%)
CMYKcmyk(43.5%, 73.4%, 0%, 39.6%)
CIE-LABlab(29.27, 45.18, -53.74)
CIE-LCHlch(29.27, 70.21, 310.06°)
OKLaboklab(41.04% 0.077 -0.1537)
OKLCHoklch(41.04% 0.172 296.6)
XYZxyz(10.5546, 5.9450, 31.1570)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299A #6C9A29
analogous
#29339A #57299A #8F299A
triadic
#57299A #9A5729 #299A57
tetradic
#57299A #9A2933 #6C9A29 #299A8F
square
#57299A #9A2933 #6C9A29 #299A8F
split-complementary
#57299A #9A8F29 #339A29
monochromatic
#200F39 #3C1C6A #57299A #7237CA #9467D7

Accessibility & contrast

On white

9.59
#57299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#57299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57299A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299A#FFFFFF#000000##FFFFFF
##57299A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#45465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57299a;
/* rgb */ color: rgb(87, 41, 154);
/* oklch */ color: oklch(41.0% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#8d67b9',
    500: '#57299a',
    950: '#000000',
  },
}
SCSS
$custom: #57299a;
$custom-light: #8d67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57299a",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 264.425,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.17193,
    "h": 296.6
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#57299A
secondary
#98BD62
accent
#E147A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #57299A

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

Preview Lab → · Contrast checker → · Palette generator →

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