#57238F#57238F

#57238F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.167 H 300.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#57238F
RGBrgb(87, 35, 143)
HSLhsl(269, 61%, 35%)
HSVhsv(269, 76%, 56%)
CMYKcmyk(39.2%, 75.5%, 0%, 43.9%)
CIE-LABlab(27.33, 45.18, -50.15)
CIE-LCHlch(27.33, 67.50, 312.02°)
OKLaboklab(39.38% 0.0853 -0.1431)
OKLCHoklch(39.38% 0.167 300.8)
XYZxyz(9.4882, 5.2114, 26.4873)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57238F #5B8F23
analogous
#23258F #57238F #8D238F
triadic
#57238F #8F5723 #238F57
tetradic
#57238F #8F2325 #5B8F23 #238F8D
square
#57238F #8F2325 #5B8F23 #238F8D
split-complementary
#57238F #8F8D23 #258F23
monochromatic
#1B0B2D #39175E #57238F #752FC0 #9457D6

Accessibility & contrast

On white

10.28
#57238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#57238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57238F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57238F#FFFFFF#000000##FFFFFF
##57238F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4A3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57238f;
/* rgb */ color: rgb(87, 35, 143);
/* oklch */ color: oklch(39.4% 0.167 300.8);
Tailwind
colors: {
  custom: {
    50: '#8c63b1',
    500: '#57238f',
    950: '#000000',
  },
}
SCSS
$custom: #57238f;
$custom-light: #8c63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#57238f",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 268.889,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3938,
    "c": 0.1666,
    "h": 300.8
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#57238F
secondary
#89BA54
accent
#E44497
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57238F

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

Preview Lab → · Contrast checker → · Palette generator →

#57238F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva