#57299D#57299D

#57299D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.175 H 295.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#57299D
RGBrgb(87, 41, 157)
HSLhsl(264, 59%, 39%)
HSVhsv(264, 74%, 62%)
CMYKcmyk(44.6%, 73.9%, 0%, 38.4%)
CIE-LABlab(29.53, 45.99, -55.15)
CIE-LCHlch(29.53, 71.81, 309.82°)
OKLaboklab(41.3% 0.0763 -0.1579)
OKLCHoklch(41.3% 0.175 295.8)
XYZxyz(10.8076, 6.0462, 32.4894)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299D #6F9D29
analogous
#29359D #57299D #91299D
triadic
#57299D #9D5729 #299D57
tetradic
#57299D #9D2935 #6F9D29 #299D91
square
#57299D #9D2935 #6F9D29 #299D91
split-complementary
#57299D #9D9129 #359D29
monochromatic
#21103C #3C1C6C #57299D #7238CB #9569D8

Accessibility & contrast

On white

9.51
#57299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#57299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57299D
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299D#FFFFFF#000000##FFFFFF
##57299D1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#444760
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57299d;
/* rgb */ color: rgb(87, 41, 157);
/* oklch */ color: oklch(41.3% 0.175 295.8);
Tailwind
colors: {
  custom: {
    50: '#8d67bb',
    500: '#57299d',
    950: '#000000',
  },
}
SCSS
$custom: #57299d;
$custom-light: #8d67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57299d",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 263.793,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.17535,
    "h": 295.8
  },
  "luminance": 0.06046
}

Semantic roles & 50–950 ramp

primary
#57299D
secondary
#9ABE64
accent
#E246A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57299D

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

Preview Lab → · Contrast checker → · Palette generator →

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