#57198C#57198C

#57198C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.174 H 303.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#57198C
RGBrgb(87, 25, 140)
HSLhsl(272, 70%, 32%)
HSVhsv(272, 82%, 55%)
CMYKcmyk(37.9%, 82.1%, 0%, 45.1%)
CIE-LABlab(25.61, 48.64, -51.09)
CIE-LCHlch(25.61, 70.54, 313.59°)
OKLaboklab(38.1% 0.0949 -0.1458)
OKLCHoklch(38.1% 0.174 303)
XYZxyz(9.0106, 4.6149, 25.2219)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57198C #4E8C19
analogous
#1E198C #57198C #8C1987
triadic
#57198C #8C5719 #198C57
tetradic
#57198C #8C1E19 #4E8C19 #19878C
square
#57198C #8C1E19 #4E8C19 #19878C
split-complementary
#57198C #878C19 #198C1E
monochromatic
#160624 #371058 #57198C #7722C0 #9642DD

Accessibility & contrast

On white

10.92
#57198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#57198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57198C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57198C#FFFFFF#000000##FFFFFF
##57198C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4C3953
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57198c;
/* rgb */ color: rgb(87, 25, 140);
/* oklch */ color: oklch(38.1% 0.174 303.0);
Tailwind
colors: {
  custom: {
    50: '#8c5eaf',
    500: '#57198c',
    950: '#000000',
  },
}
SCSS
$custom: #57198c;
$custom-light: #8c5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#57198c",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 272.348,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38095,
    "c": 0.17397,
    "h": 303
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#57198C
secondary
#7CBE43
accent
#ED3B8D
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57198C

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

Preview Lab → · Contrast checker → · Palette generator →

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