#57259E#57259E

#57259E is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.181 H 296.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#57259E
RGBrgb(87, 37, 158)
HSLhsl(265, 62%, 38%)
HSVhsv(265, 77%, 62%)
CMYKcmyk(44.9%, 76.6%, 0%, 38%)
CIE-LABlab(28.95, 48.15, -56.71)
CIE-LCHlch(28.95, 74.39, 310.34°)
OKLaboklab(40.92% 0.0797 -0.1624)
OKLCHoklch(40.92% 0.181 296.1)
XYZxyz(10.7620, 5.8177, 32.8970)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57259E #6C9E25
analogous
#25309E #57259E #93259E
triadic
#57259E #9E5725 #259E57
tetradic
#57259E #9E2530 #6C9E25 #259E93
square
#57259E #9E2530 #6C9E25 #259E93
split-complementary
#57259E #9E9325 #309E25
monochromatic
#200E3B #3C196C #57259E #7231CF #9463DA

Accessibility & contrast

On white

9.71
#57259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#57259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57259E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57259E#FFFFFF#000000##FFFFFF
##57259E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#444560
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57259e;
/* rgb */ color: rgb(87, 37, 158);
/* oklch */ color: oklch(40.9% 0.181 296.1);
Tailwind
colors: {
  custom: {
    50: '#8d65bc',
    500: '#57259e',
    950: '#000000',
  },
}
SCSS
$custom: #57259e;
$custom-light: #8d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57259e",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 264.793,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.18092,
    "h": 296.1
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#57259E
secondary
#98C05F
accent
#E543A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57259E

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

Preview Lab → · Contrast checker → · Palette generator →

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