#57299B#57299B

#57299B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.173 H 296.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#57299B
RGBrgb(87, 41, 155)
HSLhsl(264, 58%, 38%)
HSVhsv(264, 74%, 61%)
CMYKcmyk(43.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(29.36, 45.45, -54.21)
CIE-LCHlch(29.36, 70.74, 309.98°)
OKLaboklab(41.13% 0.0768 -0.1551)
OKLCHoklch(41.13% 0.173 296.3)
XYZxyz(10.6382, 5.9784, 31.5974)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299B #6D9B29
analogous
#29349B #57299B #90299B
triadic
#57299B #9B5729 #299B57
tetradic
#57299B #9B2934 #6D9B29 #299B90
square
#57299B #9B2934 #6D9B29 #299B90
split-complementary
#57299B #9B9029 #349B29
monochromatic
#210F3A #3C1C6B #57299B #7237CA #9467D7

Accessibility & contrast

On white

9.56
#57299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57299B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299B#FFFFFF#000000##FFFFFF
##57299B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57299b;
/* rgb */ color: rgb(87, 41, 155);
/* oklch */ color: oklch(41.1% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#8d67b9',
    500: '#57299b',
    950: '#000000',
  },
}
SCSS
$custom: #57299b;
$custom-light: #8d67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57299b",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 264.211,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.17306,
    "h": 296.3
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#57299B
secondary
#99BD63
accent
#E146A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57299B

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

Preview Lab → · Contrast checker → · Palette generator →

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