#57299F#57299F

#57299F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.178 H 295.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#57299F
RGBrgb(87, 41, 159)
HSLhsl(263, 59%, 39%)
HSVhsv(263, 74%, 62%)
CMYKcmyk(45.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(29.70, 46.53, -56.08)
CIE-LCHlch(29.70, 72.87, 309.68°)
OKLaboklab(41.48% 0.0759 -0.1606)
OKLCHoklch(41.48% 0.178 295.3)
XYZxyz(10.9797, 6.1150, 33.3960)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299F #719F29
analogous
#29369F #57299F #92299F
triadic
#57299F #9F5729 #299F57
tetradic
#57299F #9F2936 #719F29 #299F92
square
#57299F #9F2936 #719F29 #299F92
split-complementary
#57299F #9F9229 #369F29
monochromatic
#22103E #3C1C6E #57299F #7239CC #956AD9

Accessibility & contrast

On white

9.45
#57299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#57299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57299F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299F#FFFFFF#000000##FFFFFF
##57299F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#434862
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57299f;
/* rgb */ color: rgb(87, 41, 159);
/* oklch */ color: oklch(41.5% 0.178 295.3);
Tailwind
colors: {
  custom: {
    50: '#8d67bc',
    500: '#57299f',
    950: '#000000',
  },
}
SCSS
$custom: #57299f;
$custom-light: #8d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57299f",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 263.39,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.17763,
    "h": 295.3
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#57299F
secondary
#9CBF65
accent
#E246A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57299F

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

Preview Lab → · Contrast checker → · Palette generator →

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