#57268E#57268E

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

Color values

HEX#57268E
RGBrgb(87, 38, 142)
HSLhsl(268, 58%, 35%)
HSVhsv(268, 73%, 56%)
CMYKcmyk(38.7%, 73.2%, 0%, 44.3%)
CIE-LABlab(27.75, 43.50, -48.84)
CIE-LCHlch(27.75, 65.40, 311.69°)
OKLaboklab(39.65% 0.0825 -0.1393)
OKLCHoklch(39.65% 0.162 300.6)
XYZxyz(9.5049, 5.3654, 26.1208)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57268E #5D8E26
analogous
#26298E #57268E #8B268E
triadic
#57268E #8E5726 #268E57
tetradic
#57268E #8E2629 #5D8E26 #268E8B
square
#57268E #8E2629 #5D8E26 #268E8B
split-complementary
#57268E #8E8B26 #298E26
monochromatic
#1C0C2D #39195E #57268E #7533BE #945BD3

Accessibility & contrast

On white

10.13
#57268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#57268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57268E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57268E#FFFFFF#000000##FFFFFF
##57268E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#4B4057
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57268e;
/* rgb */ color: rgb(87, 38, 142);
/* oklch */ color: oklch(39.7% 0.162 300.6);
Tailwind
colors: {
  custom: {
    50: '#8c65b0',
    500: '#57268e',
    950: '#000000',
  },
}
SCSS
$custom: #57268e;
$custom-light: #8c65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57268e",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 268.269,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.1619,
    "h": 300.6
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#57268E
secondary
#8BB858
accent
#E14798
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57268E

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

Preview Lab → · Contrast checker → · Palette generator →

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