#57259F#57259F

#57259F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.182 H 295.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#57259F
RGBrgb(87, 37, 159)
HSLhsl(265, 62%, 38%)
HSVhsv(265, 77%, 62%)
CMYKcmyk(45.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(29.04, 48.41, -57.17)
CIE-LCHlch(29.04, 74.92, 310.26°)
OKLaboklab(41.01% 0.0794 -0.1638)
OKLCHoklch(41.01% 0.182 295.9)
XYZxyz(10.8484, 5.8523, 33.3522)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57259F #6D9F25
analogous
#25309F #57259F #94259F
triadic
#57259F #9F5725 #259F57
tetradic
#57259F #9F2530 #6D9F25 #259F94
square
#57259F #9F2530 #6D9F25 #259F94
split-complementary
#57259F #9F9425 #309F25
monochromatic
#210E3C #3C196D #57259F #7232CF #9464DB

Accessibility & contrast

On white

9.67
#57259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#57259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57259F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57259F#FFFFFF#000000##FFFFFF
##57259F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#434661
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57259f;
/* rgb */ color: rgb(87, 37, 159);
/* oklch */ color: oklch(41.0% 0.182 295.9);
Tailwind
colors: {
  custom: {
    50: '#8e65bc',
    500: '#57259f',
    950: '#000000',
  },
}
SCSS
$custom: #57259f;
$custom-light: #8e65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57259f",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 264.59,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.18202,
    "h": 295.9
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#57259F
secondary
#99C05F
accent
#E542A3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57259F

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

Preview Lab → · Contrast checker → · Palette generator →

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