#57267D#57267D

#57267D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 306.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#57267D
RGBrgb(87, 38, 125)
HSLhsl(274, 53%, 32%)
HSVhsv(274, 70%, 49%)
CMYKcmyk(30.4%, 69.6%, 0%, 51%)
CIE-LABlab(26.43, 39.17, -40.35)
CIE-LCHlch(26.43, 56.24, 314.14°)
OKLaboklab(38.29% 0.0851 -0.1144)
OKLCHoklch(38.29% 0.143 306.7)
XYZxyz(8.3245, 4.8932, 19.9040)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57267D #4C7D26
analogous
#2C267D #57267D #7D2678
triadic
#57267D #7D5726 #267D57
tetradic
#57267D #7D2C26 #4C7D26 #26787D
square
#57267D #7D2C26 #4C7D26 #26787D
split-complementary
#57267D #787D26 #267D2C
monochromatic
#16091F #36184E #57267D #7834AC #9653CB

Accessibility & contrast

On white

10.61
#57267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#57267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57267D
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57267D#FFFFFF#000000##FFFFFF
##57267D1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#51394E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57267d;
/* rgb */ color: rgb(87, 38, 125);
/* oklch */ color: oklch(38.3% 0.143 306.7);
Tailwind
colors: {
  custom: {
    50: '#8a64a3',
    500: '#57267d',
    950: '#000000',
  },
}
SCSS
$custom: #57267d;
$custom-light: #8a64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57267d",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 273.793,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.14258,
    "h": 306.7
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#57267D
secondary
#79AF50
accent
#DD4B8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57267D

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

Preview Lab → · Contrast checker → · Palette generator →

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