#57259B#57259B

#57259B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.178 H 297.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#57259B
RGBrgb(87, 37, 155)
HSLhsl(265, 61%, 38%)
HSVhsv(265, 76%, 61%)
CMYKcmyk(43.9%, 76.1%, 0%, 39.2%)
CIE-LABlab(28.68, 47.36, -55.31)
CIE-LCHlch(28.68, 72.82, 310.57°)
OKLaboklab(40.65% 0.0805 -0.1583)
OKLCHoklch(40.65% 0.178 297)
XYZxyz(10.5069, 5.7157, 31.5537)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57259B #699B25
analogous
#252E9B #57259B #92259B
triadic
#57259B #9B5725 #259B57
tetradic
#57259B #9B252E #699B25 #259B92
square
#57259B #9B252E #699B25 #259B92
split-complementary
#57259B #9B9225 #2E9B25
monochromatic
#200D38 #3B196A #57259B #7331CC #9461D9

Accessibility & contrast

On white

9.80
#57259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57259B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57259B#FFFFFF#000000##FFFFFF
##57259B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#45445E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57259b;
/* rgb */ color: rgb(87, 37, 155);
/* oklch */ color: oklch(40.7% 0.178 297.0);
Tailwind
colors: {
  custom: {
    50: '#8d65b9',
    500: '#57259b',
    950: '#000000',
  },
}
SCSS
$custom: #57259b;
$custom-light: #8d65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57259b",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 265.424,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.1776,
    "h": 297
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#57259B
secondary
#95BF5D
accent
#E543A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57259B

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

Preview Lab → · Contrast checker → · Palette generator →

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