#57319A#57319A

#57319A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.162 H 295.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#57319A
RGBrgb(87, 49, 154)
HSLhsl(262, 52%, 40%)
HSVhsv(262, 68%, 60%)
CMYKcmyk(43.5%, 68.2%, 0%, 39.6%)
CIE-LABlab(30.77, 41.02, -51.29)
CIE-LCHlch(30.77, 65.68, 308.65°)
OKLaboklab(42.11% 0.0688 -0.1466)
OKLCHoklch(42.11% 0.162 295.1)
XYZxyz(10.8600, 6.5557, 31.2588)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57319A #749A31
analogous
#31409A #57319A #8B319A
triadic
#57319A #9A5731 #319A57
tetradic
#57319A #9A3140 #749A31 #319A8B
square
#57319A #9A3140 #749A31 #319A8B
split-complementary
#57319A #9A8B31 #409A31
monochromatic
#23133D #3D226C #57319A #7345C4 #9673D2

Accessibility & contrast

On white

9.09
#57319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#57319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57319A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57319A#FFFFFF#000000##FFFFFF
##57319A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#454A61
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57319a;
/* rgb */ color: rgb(87, 49, 154);
/* oklch */ color: oklch(42.1% 0.162 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c6cb9',
    500: '#57319a',
    950: '#000000',
  },
}
SCSS
$custom: #57319a;
$custom-light: #8c6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#57319a",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 261.714,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42113,
    "c": 0.16191,
    "h": 295.1
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#57319A
secondary
#9EBA6C
accent
#DB4DA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #57319A

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

Preview Lab → · Contrast checker → · Palette generator →

#57319A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva