#57269B#57269B

#57269B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.176 H 296.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#57269B
RGBrgb(87, 38, 155)
HSLhsl(265, 61%, 38%)
HSVhsv(265, 75%, 61%)
CMYKcmyk(43.9%, 75.5%, 0%, 39.2%)
CIE-LABlab(28.85, 46.90, -55.04)
CIE-LCHlch(28.85, 72.31, 310.43°)
OKLaboklab(40.77% 0.0796 -0.1575)
OKLCHoklch(40.77% 0.176 296.8)
XYZxyz(10.5384, 5.7788, 31.5642)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57269B #6A9B26
analogous
#26309B #57269B #91269B
triadic
#57269B #9B5726 #269B57
tetradic
#57269B #9B2630 #6A9B26 #269B91
square
#57269B #9B2630 #6A9B26 #269B91
split-complementary
#57269B #9B9126 #309B26
monochromatic
#200E39 #3B1A6A #57269B #7332CC #9463D9

Accessibility & contrast

On white

9.74
#57269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#57269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57269B
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57269B#FFFFFF#000000##FFFFFF
##57269B1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#45455F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57269b;
/* rgb */ color: rgb(87, 38, 155);
/* oklch */ color: oklch(40.8% 0.176 296.8);
Tailwind
colors: {
  custom: {
    50: '#8d65b9',
    500: '#57269b',
    950: '#000000',
  },
}
SCSS
$custom: #57269b;
$custom-light: #8d65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57269b",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 265.128,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.17649,
    "h": 296.8
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#57269B
secondary
#96BE5F
accent
#E444A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57269B

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

Preview Lab → · Contrast checker → · Palette generator →

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