#57239F#57239F

#57239F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.184 H 296.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#57239F
RGBrgb(87, 35, 159)
HSLhsl(265, 64%, 38%)
HSVhsv(265, 78%, 62%)
CMYKcmyk(45.3%, 78%, 0%, 37.6%)
CIE-LABlab(28.72, 49.31, -57.68)
CIE-LCHlch(28.72, 75.89, 310.53°)
OKLaboklab(40.79% 0.0811 -0.1653)
OKLCHoklch(40.79% 0.184 296.1)
XYZxyz(10.7879, 5.7313, 33.3320)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57239F #6B9F23
analogous
#232D9F #57239F #95239F
triadic
#57239F #9F5723 #239F57
tetradic
#57239F #9F232D #6B9F23 #239F95
square
#57239F #9F232D #6B9F23 #239F95
split-complementary
#57239F #9F9523 #2D9F23
monochromatic
#200D3B #3C186D #57239F #722ED1 #9460DC

Accessibility & contrast

On white

9.78
#57239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#57239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57239F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57239F#FFFFFF#000000##FFFFFF
##57239F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#434560
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57239f;
/* rgb */ color: rgb(87, 35, 159);
/* oklch */ color: oklch(40.8% 0.184 296.1);
Tailwind
colors: {
  custom: {
    50: '#8e64bc',
    500: '#57239f',
    950: '#000000',
  },
}
SCSS
$custom: #57239f;
$custom-light: #8e64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57239f",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 265.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.1841,
    "h": 296.1
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#57239F
secondary
#97C15D
accent
#E741A1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57239F

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

Preview Lab → · Contrast checker → · Palette generator →

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