#57267B#57267B

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

Color values

HEX#57267B
RGBrgb(87, 38, 123)
HSLhsl(275, 53%, 32%)
HSVhsv(275, 69%, 48%)
CMYKcmyk(29.3%, 69.1%, 0%, 51.8%)
CIE-LABlab(26.28, 38.67, -39.33)
CIE-LCHlch(26.28, 55.15, 314.52°)
OKLaboklab(38.14% 0.0854 -0.1113)
OKLCHoklch(38.14% 0.14 307.5)
XYZxyz(8.1980, 4.8426, 19.2379)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57267B #4A7B26
analogous
#2D267B #57267B #7B2675
triadic
#57267B #7B5726 #267B57
tetradic
#57267B #7B2D26 #4A7B26 #26757B
square
#57267B #7B2D26 #4A7B26 #26757B
split-complementary
#57267B #757B26 #267B2D
monochromatic
#15091D #36184C #57267B #7834AA #9752CA

Accessibility & contrast

On white

10.67
#57267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#57267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57267B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57267B#FFFFFF#000000##FFFFFF
##57267B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#133F79
Tritanopia (blue-blind)
#51384D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57267b;
/* rgb */ color: rgb(87, 38, 123);
/* oklch */ color: oklch(38.1% 0.140 307.5);
Tailwind
colors: {
  custom: {
    50: '#8a64a2',
    500: '#57267b',
    950: '#000000',
  },
}
SCSS
$custom: #57267b;
$custom-light: #8a64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57267b",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 274.588,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38141,
    "c": 0.1403,
    "h": 307.5
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#57267B
secondary
#77AD50
accent
#DC4C89
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57267B

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

Preview Lab → · Contrast checker → · Palette generator →

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