#57268F#57268F

#57268F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.163 H 300.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#57268F
RGBrgb(87, 38, 143)
HSLhsl(268, 58%, 35%)
HSVhsv(268, 73%, 56%)
CMYKcmyk(39.2%, 73.4%, 0%, 43.9%)
CIE-LABlab(27.83, 43.76, -49.32)
CIE-LCHlch(27.83, 65.94, 311.58°)
OKLaboklab(39.74% 0.0823 -0.1407)
OKLCHoklch(39.74% 0.163 300.3)
XYZxyz(9.5803, 5.3955, 26.5180)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57268F #5E8F26
analogous
#26298F #57268F #8B268F
triadic
#57268F #8F5726 #268F57
tetradic
#57268F #8F2629 #5E8F26 #268F8B
square
#57268F #8F2629 #5E8F26 #268F8B
split-complementary
#57268F #8F8B26 #298F26
monochromatic
#1C0C2E #3A195F #57268F #7433BF #945CD4

Accessibility & contrast

On white

10.10
#57268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#57268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57268F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57268F#FFFFFF#000000##FFFFFF
##57268F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#4A4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57268f;
/* rgb */ color: rgb(87, 38, 143);
/* oklch */ color: oklch(39.7% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#8c65b1',
    500: '#57268f',
    950: '#000000',
  },
}
SCSS
$custom: #57268f;
$custom-light: #8c65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#57268f",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 268,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39737,
    "c": 0.16302,
    "h": 300.3
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#57268F
secondary
#8CB958
accent
#E14799
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57268F

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

Preview Lab → · Contrast checker → · Palette generator →

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