#57247B#57247B

#57247B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.143 H 307.8°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#57247B
RGBrgb(87, 36, 123)
HSLhsl(275, 55%, 31%)
HSVhsv(275, 71%, 48%)
CMYKcmyk(29.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(25.92, 39.68, -39.92)
CIE-LCHlch(25.92, 56.28, 314.83°)
OKLaboklab(37.88% 0.0877 -0.1131)
OKLCHoklch(37.88% 0.143 307.8)
XYZxyz(8.1358, 4.7182, 19.2172)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57247B #487B24
analogous
#2B247B #57247B #7B2473
triadic
#57247B #7B5724 #247B57
tetradic
#57247B #7B2B24 #487B24 #24737B
square
#57247B #7B2B24 #487B24 #24737B
split-complementary
#57247B #737B24 #247B2B
monochromatic
#14081C #36164C #57247B #7832AA #974ECB

Accessibility & contrast

On white

10.80
#57247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#57247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57247B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57247B#FFFFFF#000000##FFFFFF
##57247B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#51374C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57247b;
/* rgb */ color: rgb(87, 36, 123);
/* oklch */ color: oklch(37.9% 0.143 307.8);
Tailwind
colors: {
  custom: {
    50: '#8a63a2',
    500: '#57247b',
    950: '#000000',
  },
}
SCSS
$custom: #57247b;
$custom-light: #8a63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57247b",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 275.172,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.14312,
    "h": 307.8
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#57247B
secondary
#75AD4D
accent
#DE4A87
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57247B

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

Preview Lab → · Contrast checker → · Palette generator →

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