#57309F#57309F

#57309F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.169 H 294.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#57309F
RGBrgb(87, 48, 159)
HSLhsl(261, 54%, 41%)
HSVhsv(261, 70%, 62%)
CMYKcmyk(45.3%, 69.8%, 0%, 37.6%)
CIE-LABlab(30.98, 42.95, -54.00)
CIE-LCHlch(30.98, 68.99, 308.50°)
OKLaboklab(42.39% 0.0691 -0.1545)
OKLCHoklch(42.39% 0.169 294.1)
XYZxyz(11.2437, 6.6430, 33.4840)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57309F #789F30
analogous
#30409F #57309F #8E309F
triadic
#57309F #9F5730 #309F57
tetradic
#57309F #9F3040 #789F30 #309F8E
square
#57309F #9F3040 #789F30 #309F8E
split-complementary
#57309F #9F8E30 #409F30
monochromatic
#241441 #3D2270 #57309F #7345C7 #9674D5

Accessibility & contrast

On white

9.02
#57309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#57309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57309F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57309F#FFFFFF#000000##FFFFFF
##57309F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#434B64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #57309f;
/* rgb */ color: rgb(87, 48, 159);
/* oklch */ color: oklch(42.4% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#8d6bbc',
    500: '#57309f',
    950: '#000000',
  },
}
SCSS
$custom: #57309f;
$custom-light: #8d6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#57309f",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 261.081,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.16924,
    "h": 294.1
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#57309F
secondary
#A1BD6E
accent
#DD4BAA
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57309F

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

Preview Lab → · Contrast checker → · Palette generator →

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