#57188D#57188D

#57188D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.176 H 302.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#57188D
RGBrgb(87, 24, 141)
HSLhsl(272, 71%, 32%)
HSVhsv(272, 83%, 55%)
CMYKcmyk(38.3%, 83%, 0%, 44.7%)
CIE-LABlab(25.57, 49.25, -51.77)
CIE-LCHlch(25.57, 71.45, 313.57°)
OKLaboklab(38.1% 0.0953 -0.1478)
OKLCHoklch(38.1% 0.176 302.8)
XYZxyz(9.0637, 4.6026, 25.6050)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57188D #4E8D18
analogous
#1D188D #57188D #8D1888
triadic
#57188D #8D5718 #188D57
tetradic
#57188D #8D1D18 #4E8D18 #18888D
square
#57188D #8D1D18 #4E8D18 #18888D
split-complementary
#57188D #888D18 #188D1D
monochromatic
#160624 #370F59 #57188D #7721C1 #9641DF

Accessibility & contrast

On white

10.93
#57188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#57188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57188D
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57188D#FFFFFF#000000##FFFFFF
##57188D1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4C3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57188d;
/* rgb */ color: rgb(87, 24, 141);
/* oklch */ color: oklch(38.1% 0.176 302.8);
Tailwind
colors: {
  custom: {
    50: '#8c5eaf',
    500: '#57188d',
    950: '#000000',
  },
}
SCSS
$custom: #57188d;
$custom-light: #8c5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#57188d",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 272.308,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38096,
    "c": 0.1759,
    "h": 302.8
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#57188D
secondary
#7CBF42
accent
#EE3A8D
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57188D

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

Preview Lab → · Contrast checker → · Palette generator →

#57188D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva