#57237A#57237A

#57237A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.143 H 308.4°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#57237A
RGBrgb(87, 35, 122)
HSLhsl(276, 55%, 31%)
HSVhsv(276, 71%, 48%)
CMYKcmyk(28.7%, 71.3%, 0%, 52.2%)
CIE-LABlab(25.66, 39.93, -39.69)
CIE-LCHlch(25.66, 56.30, 315.17°)
OKLaboklab(37.68% 0.089 -0.1124)
OKLCHoklch(37.68% 0.143 308.4)
XYZxyz(8.0436, 4.6336, 18.8792)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57237A #467A23
analogous
#2B237A #57237A #7A2371
triadic
#57237A #7A5723 #237A57
tetradic
#57237A #7A2B23 #467A23 #23717A
square
#57237A #7A2B23 #467A23 #23717A
split-complementary
#57237A #717A23 #237A2B
monochromatic
#13081B #35154A #57237A #7931AA #984CCC

Accessibility & contrast

On white

10.90
#57237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#57237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57237A
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57237A#FFFFFF#000000##FFFFFF
##57237A1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#103D78
Tritanopia (blue-blind)
#52364B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57237a;
/* rgb */ color: rgb(87, 35, 122);
/* oklch */ color: oklch(37.7% 0.143 308.4);
Tailwind
colors: {
  custom: {
    50: '#8a62a1',
    500: '#57237a',
    950: '#000000',
  },
}
SCSS
$custom: #57237a;
$custom-light: #8a62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#57237a",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 275.862,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.14339,
    "h": 308.4
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#57237A
secondary
#73AD4C
accent
#DF4985
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57237A

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

Preview Lab → · Contrast checker → · Palette generator →

#57237A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva