#5725AE#5725AE

#5725AE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.198 H 292.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5725AE
RGBrgb(87, 37, 174)
HSLhsl(262, 65%, 41%)
HSVhsv(262, 79%, 68%)
CMYKcmyk(50%, 78.7%, 0%, 31.8%)
CIE-LABlab(30.41, 52.37, -63.97)
CIE-LCHlch(30.41, 82.67, 309.31°)
OKLaboklab(42.39% 0.0751 -0.1837)
OKLCHoklch(42.39% 0.198 292.2)
XYZxyz(12.2299, 6.4049, 40.6281)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725AE #7CAE25
analogous
#2538AE #5725AE #9C25AE
triadic
#5725AE #AE5725 #25AE57
tetradic
#5725AE #AE2538 #7CAE25 #25AE9C
square
#5725AE #AE2538 #7CAE25 #25AE9C
split-complementary
#5725AE #AE9C25 #38AE25
monochromatic
#251049 #3E1A7C #5725AE #733BD5 #976DE0

Accessibility & contrast

On white

9.21
#5725AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5725AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725AE
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725AE#FFFFFF#000000##FFFFFF
##5725AE1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0045AB
Tritanopia (blue-blind)
#3A4C69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5725ae;
/* rgb */ color: rgb(87, 37, 174);
/* oklch */ color: oklch(42.4% 0.198 292.2);
Tailwind
colors: {
  custom: {
    50: '#9066c7',
    500: '#5725ae',
    950: '#000000',
  },
}
SCSS
$custom: #5725ae;
$custom-light: #9066c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5725ae",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 261.898,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.19846,
    "h": 292.2
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#5725AE
secondary
#A4C668
accent
#E840AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5725AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5725AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva