#57267A#57267A

#57267A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.139 H 307.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#57267A
RGBrgb(87, 38, 122)
HSLhsl(275, 53%, 31%)
HSVhsv(275, 69%, 48%)
CMYKcmyk(28.7%, 68.9%, 0%, 52.2%)
CIE-LABlab(26.21, 38.42, -38.81)
CIE-LCHlch(26.21, 54.61, 314.71°)
OKLaboklab(38.07% 0.0855 -0.1098)
OKLCHoklch(38.07% 0.139 307.9)
XYZxyz(8.1357, 4.8177, 18.9099)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57267A #497A26
analogous
#2D267A #57267A #7A2673
triadic
#57267A #7A5726 #267A57
tetradic
#57267A #7A2D26 #497A26 #26737A
square
#57267A #7A2D26 #497A26 #26737A
split-complementary
#57267A #737A26 #267A2D
monochromatic
#14091D #36174B #57267A #7835A9 #9751C9

Accessibility & contrast

On white

10.69
#57267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#57267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57267A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57267A#FFFFFF#000000##FFFFFF
##57267A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#153F78
Tritanopia (blue-blind)
#52384C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57267a;
/* rgb */ color: rgb(87, 38, 122);
/* oklch */ color: oklch(38.1% 0.139 307.9);
Tailwind
colors: {
  custom: {
    50: '#8a64a1',
    500: '#57267a',
    950: '#000000',
  },
}
SCSS
$custom: #57267a;
$custom-light: #8a64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#57267a",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 275,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38066,
    "c": 0.13916,
    "h": 307.9
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#57267A
secondary
#76AC50
accent
#DC4C88
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57267A

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

Preview Lab → · Contrast checker → · Palette generator →

#57267A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva