#57236A#57236A

#57236A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.5% C 0.126 H 315.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#57236A
RGBrgb(87, 35, 106)
HSLhsl(284, 50%, 28%)
HSVhsv(284, 67%, 42%)
CMYKcmyk(17.9%, 67%, 0%, 58.4%)
CIE-LABlab(24.54, 36.15, -31.24)
CIE-LCHlch(24.54, 47.78, 319.17°)
OKLaboklab(36.51% 0.0902 -0.0876)
OKLCHoklch(36.51% 0.126 315.8)
XYZxyz(7.1326, 4.2692, 14.0812)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57236A #366A23
analogous
#34236A #57236A #6A2359
triadic
#57236A #6A5723 #236A57
tetradic
#57236A #6A3423 #366A23 #23596A
square
#57236A #6A3423 #366A23 #23596A
split-complementary
#57236A #596A23 #236A34
monochromatic
#130817 #31143C #57236A #7D3298 #A146C2

Accessibility & contrast

On white

11.33
#57236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#57236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57236A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57236A#FFFFFF#000000##FFFFFF
##57236A1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376C
Deuteranopia (green-blind)
#233C68
Tritanopia (blue-blind)
#563043
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #57236a;
/* rgb */ color: rgb(87, 35, 106);
/* oklch */ color: oklch(36.5% 0.126 315.8);
Tailwind
colors: {
  custom: {
    50: '#896295',
    500: '#57236a',
    950: '#000000',
  },
}
SCSS
$custom: #57236a;
$custom-light: #896295;
$custom-dark: #000000;
JSON
{
  "hex": "#57236a",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 283.944,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.12574,
    "h": 315.8
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#57236A
secondary
#619D4B
accent
#DA4E73
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #57236A

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

Preview Lab → · Contrast checker → · Palette generator →

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