#57299E#57299E

#57299E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.176 H 295.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#57299E
RGBrgb(87, 41, 158)
HSLhsl(264, 59%, 39%)
HSVhsv(264, 74%, 62%)
CMYKcmyk(44.9%, 74.1%, 0%, 38%)
CIE-LABlab(29.61, 46.26, -55.62)
CIE-LCHlch(29.61, 72.34, 309.75°)
OKLaboklab(41.39% 0.0761 -0.1592)
OKLCHoklch(41.39% 0.176 295.5)
XYZxyz(10.8933, 6.0805, 32.9408)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57299E #709E29
analogous
#29369E #57299E #92299E
triadic
#57299E #9E5729 #299E57
tetradic
#57299E #9E2936 #709E29 #299E92
square
#57299E #9E2936 #709E29 #299E92
split-complementary
#57299E #9E9229 #369E29
monochromatic
#21103D #3C1C6D #57299E #7239CC #9569D8

Accessibility & contrast

On white

9.48
#57299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57299E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57299E#FFFFFF#000000##FFFFFF
##57299E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#434761
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57299e;
/* rgb */ color: rgb(87, 41, 158);
/* oklch */ color: oklch(41.4% 0.176 295.5);
Tailwind
colors: {
  custom: {
    50: '#8d67bc',
    500: '#57299e',
    950: '#000000',
  },
}
SCSS
$custom: #57299e;
$custom-light: #8d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57299e",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 263.59,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.17649,
    "h": 295.5
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#57299E
secondary
#9BBF64
accent
#E246A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57299E

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

Preview Lab → · Contrast checker → · Palette generator →

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