#57269D#57269D

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

Color values

HEX#57269D
RGBrgb(87, 38, 157)
HSLhsl(265, 61%, 38%)
HSVhsv(265, 76%, 62%)
CMYKcmyk(44.6%, 75.8%, 0%, 38.4%)
CIE-LABlab(29.02, 47.43, -55.98)
CIE-LCHlch(29.02, 73.37, 310.27°)
OKLaboklab(40.95% 0.0791 -0.1603)
OKLCHoklch(40.95% 0.179 296.3)
XYZxyz(10.7078, 5.8465, 32.4561)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57269D #6C9D26
analogous
#26309D #57269D #92269D
triadic
#57269D #9D5726 #269D57
tetradic
#57269D #9D2630 #6C9D26 #269D92
square
#57269D #9D2630 #6C9D26 #269D92
split-complementary
#57269D #9D9226 #309D26
monochromatic
#200E3A #3C1A6C #57269D #7233CE #9464D9

Accessibility & contrast

On white

9.68
#57269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#57269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57269D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57269D#FFFFFF#000000##FFFFFF
##57269D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#444560
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57269d;
/* rgb */ color: rgb(87, 38, 157);
/* oklch */ color: oklch(40.9% 0.179 296.3);
Tailwind
colors: {
  custom: {
    50: '#8d66bb',
    500: '#57269d',
    950: '#000000',
  },
}
SCSS
$custom: #57269d;
$custom-light: #8d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57269d",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 264.706,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40946,
    "c": 0.17873,
    "h": 296.3
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#57269D
secondary
#98BF60
accent
#E444A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57269D

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

Preview Lab → · Contrast checker → · Palette generator →

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