#57309C#57309C

#57309C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.166 H 294.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#57309C
RGBrgb(87, 48, 156)
HSLhsl(262, 53%, 40%)
HSVhsv(262, 69%, 61%)
CMYKcmyk(44.2%, 69.2%, 0%, 38.8%)
CIE-LABlab(30.74, 42.11, -52.57)
CIE-LCHlch(30.74, 67.36, 308.70°)
OKLaboklab(42.14% 0.0696 -0.1503)
OKLCHoklch(42.14% 0.166 294.8)
XYZxyz(10.9866, 6.5402, 32.1296)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57309C #759C30
analogous
#303F9C #57309C #8D309C
triadic
#57309C #9C5730 #309C57
tetradic
#57309C #9C303F #759C30 #309C8D
square
#57309C #9C303F #759C30 #309C8D
split-complementary
#57309C #9C8D30 #3F9C30
monochromatic
#23133E #3D226D #57309C #7344C5 #9673D4

Accessibility & contrast

On white

9.10
#57309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#57309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57309C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57309C#FFFFFF#000000##FFFFFF
##57309C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#444A62
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57309c;
/* rgb */ color: rgb(87, 48, 156);
/* oklch */ color: oklch(42.1% 0.166 294.8);
Tailwind
colors: {
  custom: {
    50: '#8c6bba',
    500: '#57309c',
    950: '#000000',
  },
}
SCSS
$custom: #57309c;
$custom-light: #8c6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#57309c",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 261.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.16564,
    "h": 294.8
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#57309C
secondary
#9FBC6C
accent
#DC4BA8
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57309C

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

Preview Lab → · Contrast checker → · Palette generator →

#57309C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva