#57259A#57259A

#57259A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.176 H 297.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#57259A
RGBrgb(87, 37, 154)
HSLhsl(266, 61%, 37%)
HSVhsv(266, 76%, 60%)
CMYKcmyk(43.5%, 76%, 0%, 39.6%)
CIE-LABlab(28.60, 47.10, -54.84)
CIE-LCHlch(28.60, 72.29, 310.66°)
OKLaboklab(40.57% 0.0807 -0.1569)
OKLCHoklch(40.57% 0.176 297.2)
XYZxyz(10.4233, 5.6823, 31.1132)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57259A #689A25
analogous
#252D9A #57259A #92259A
triadic
#57259A #9A5725 #259A57
tetradic
#57259A #9A252D #689A25 #259A92
square
#57259A #9A252D #689A25 #259A92
split-complementary
#57259A #9A9225 #2D9A25
monochromatic
#1F0D37 #3B1969 #57259A #7331CB #9460D9

Accessibility & contrast

On white

9.83
#57259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#57259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57259A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57259A#FFFFFF#000000##FFFFFF
##57259A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#46445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57259a;
/* rgb */ color: rgb(87, 37, 154);
/* oklch */ color: oklch(40.6% 0.176 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d65b9',
    500: '#57259a',
    950: '#000000',
  },
}
SCSS
$custom: #57259a;
$custom-light: #8d65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57259a",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 265.641,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.17649,
    "h": 297.2
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#57259A
secondary
#94BE5D
accent
#E443A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57259A

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

Preview Lab → · Contrast checker → · Palette generator →

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