#57258F#57258F

#57258F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.164 H 300.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#57258F
RGBrgb(87, 37, 143)
HSLhsl(268, 59%, 35%)
HSVhsv(268, 74%, 56%)
CMYKcmyk(39.2%, 74.1%, 0%, 43.9%)
CIE-LABlab(27.66, 44.24, -49.60)
CIE-LCHlch(27.66, 66.47, 311.73°)
OKLaboklab(39.62% 0.0833 -0.1415)
OKLCHoklch(39.62% 0.164 300.5)
XYZxyz(9.5487, 5.3325, 26.5075)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57258F #5D8F25
analogous
#25288F #57258F #8C258F
triadic
#57258F #8F5725 #258F57
tetradic
#57258F #8F2528 #5D8F25 #258F8C
square
#57258F #8F2528 #5D8F25 #258F8C
split-complementary
#57258F #8F8C25 #288F25
monochromatic
#1C0C2E #39185E #57258F #7532C0 #945AD4

Accessibility & contrast

On white

10.16
#57258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#57258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57258F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57258F#FFFFFF#000000##FFFFFF
##57258F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#4A3F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57258f;
/* rgb */ color: rgb(87, 37, 143);
/* oklch */ color: oklch(39.6% 0.164 300.5);
Tailwind
colors: {
  custom: {
    50: '#8c64b1',
    500: '#57258f',
    950: '#000000',
  },
}
SCSS
$custom: #57258f;
$custom-light: #8c64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#57258f",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 268.302,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.16424,
    "h": 300.5
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#57258F
secondary
#8BB957
accent
#E24698
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57258F

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

Preview Lab → · Contrast checker → · Palette generator →

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