#57268B#57268B

#57268B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.159 H 301.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#57268B
RGBrgb(87, 38, 139)
HSLhsl(269, 57%, 35%)
HSVhsv(269, 73%, 55%)
CMYKcmyk(37.4%, 72.7%, 0%, 45.5%)
CIE-LABlab(27.51, 42.72, -47.37)
CIE-LCHlch(27.51, 63.79, 312.04°)
OKLaboklab(39.41% 0.0831 -0.135)
OKLCHoklch(39.41% 0.159 301.6)
XYZxyz(9.2827, 5.2765, 24.9505)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57268B #5A8B26
analogous
#26288B #57268B #8A268B
triadic
#57268B #8B5726 #268B57
tetradic
#57268B #8B2628 #5A8B26 #268B8A
square
#57268B #8B2628 #5A8B26 #268B8A
split-complementary
#57268B #8B8A26 #288B26
monochromatic
#1B0C2B #39195B #57268B #7533BB #945AD2

Accessibility & contrast

On white

10.22
#57268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#57268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57268B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57268B#FFFFFF#000000##FFFFFF
##57268B1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4C3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57268b;
/* rgb */ color: rgb(87, 38, 139);
/* oklch */ color: oklch(39.4% 0.159 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b65ae',
    500: '#57268b',
    950: '#000000',
  },
}
SCSS
$custom: #57268b;
$custom-light: #8b65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57268b",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 269.109,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.1585,
    "h": 301.6
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#57268B
secondary
#88B756
accent
#E04796
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57268B

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

Preview Lab → · Contrast checker → · Palette generator →

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