#57269C#57269C

#57269C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.178 H 296.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#57269C
RGBrgb(87, 38, 156)
HSLhsl(265, 61%, 38%)
HSVhsv(265, 76%, 61%)
CMYKcmyk(44.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(28.93, 47.16, -55.51)
CIE-LCHlch(28.93, 72.84, 310.35°)
OKLaboklab(40.86% 0.0793 -0.1589)
OKLCHoklch(40.86% 0.178 296.5)
XYZxyz(10.6228, 5.8125, 32.0083)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57269C #6B9C26
analogous
#26309C #57269C #92269C
triadic
#57269C #9C5726 #269C57
tetradic
#57269C #9C2630 #6B9C26 #269C92
square
#57269C #9C2630 #6B9C26 #269C92
split-complementary
#57269C #9C9226 #309C26
monochromatic
#200E3A #3C1A6B #57269C #7232CD #9463D9

Accessibility & contrast

On white

9.71
#57269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57269C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57269C#FFFFFF#000000##FFFFFF
##57269C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57269c;
/* rgb */ color: rgb(87, 38, 156);
/* oklch */ color: oklch(40.9% 0.178 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d66ba',
    500: '#57269c',
    950: '#000000',
  },
}
SCSS
$custom: #57269c;
$custom-light: #8d66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57269c",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 264.915,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.17762,
    "h": 296.5
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#57269C
secondary
#97BF5F
accent
#E444A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57269C

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

Preview Lab → · Contrast checker → · Palette generator →

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