#57299C#57299C

#57299C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.174 H 296.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#57299C
RGBrgb(87, 41, 156)
HSLhsl(264, 58%, 39%)
HSVhsv(264, 74%, 61%)
CMYKcmyk(44.2%, 73.7%, 0%, 38.8%)
CIE-LABlab(29.44, 45.72, -54.68)
CIE-LCHlch(29.44, 71.28, 309.90°)
OKLaboklab(41.22% 0.0766 -0.1565)
OKLCHoklch(41.22% 0.174 296.1)
XYZxyz(10.7226, 6.0122, 32.0416)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299C #6E9C29
analogous
#29349C #57299C #90299C
triadic
#57299C #9C5729 #299C57
tetradic
#57299C #9C2934 #6E9C29 #299C90
square
#57299C #9C2934 #6E9C29 #299C90
split-complementary
#57299C #9C9029 #349C29
monochromatic
#21103B #3C1C6C #57299C #7238CB #9568D7

Accessibility & contrast

On white

9.54
#57299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#57299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57299C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299C#FFFFFF#000000##FFFFFF
##57299C1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#444760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57299c;
/* rgb */ color: rgb(87, 41, 156);
/* oklch */ color: oklch(41.2% 0.174 296.1);
Tailwind
colors: {
  custom: {
    50: '#8d67ba',
    500: '#57299c',
    950: '#000000',
  },
}
SCSS
$custom: #57299c;
$custom-light: #8d67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57299c",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 264,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.17421,
    "h": 296.1
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#57299C
secondary
#99BE63
accent
#E246A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57299C

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

Preview Lab → · Contrast checker → · Palette generator →

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