#57259C#57259C

#57259C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.179 H 296.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#57259C
RGBrgb(87, 37, 156)
HSLhsl(265, 62%, 38%)
HSVhsv(265, 76%, 61%)
CMYKcmyk(44.2%, 76.3%, 0%, 38.8%)
CIE-LABlab(28.77, 47.63, -55.78)
CIE-LCHlch(28.77, 73.34, 310.49°)
OKLaboklab(40.74% 0.0802 -0.1597)
OKLCHoklch(40.74% 0.179 296.7)
XYZxyz(10.5912, 5.7494, 31.9978)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57259C #6A9C25
analogous
#252F9C #57259C #92259C
triadic
#57259C #9C5725 #259C57
tetradic
#57259C #9C252F #6A9C25 #259C92
square
#57259C #9C252F #6A9C25 #259C92
split-complementary
#57259C #9C9225 #2F9C25
monochromatic
#200E39 #3B196B #57259C #7331CD #9462DA

Accessibility & contrast

On white

9.77
#57259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#57259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57259C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57259C#FFFFFF#000000##FFFFFF
##57259C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#45455F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57259c;
/* rgb */ color: rgb(87, 37, 156);
/* oklch */ color: oklch(40.7% 0.179 296.7);
Tailwind
colors: {
  custom: {
    50: '#8d65ba',
    500: '#57259c',
    950: '#000000',
  },
}
SCSS
$custom: #57259c;
$custom-light: #8d65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57259c",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 265.21,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40742,
    "c": 0.1787,
    "h": 296.7
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#57259C
secondary
#96BF5E
accent
#E543A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57259C

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

Preview Lab → · Contrast checker → · Palette generator →

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