#5725A4#5725A4

#5725A4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.188 H 294.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5725A4
RGBrgb(87, 37, 164)
HSLhsl(264, 63%, 39%)
HSVhsv(264, 77%, 64%)
CMYKcmyk(47%, 77.4%, 0%, 35.7%)
CIE-LABlab(29.49, 49.73, -59.47)
CIE-LCHlch(29.49, 77.52, 309.91°)
OKLaboklab(41.46% 0.0781 -0.1705)
OKLCHoklch(41.46% 0.188 294.6)
XYZxyz(11.2911, 6.0294, 35.6836)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725A4 #72A425
analogous
#2533A4 #5725A4 #9725A4
triadic
#5725A4 #A45725 #25A457
tetradic
#5725A4 #A42533 #72A425 #25A497
square
#5725A4 #A42533 #72A425 #25A497
split-complementary
#5725A4 #A49725 #33A425
monochromatic
#220E40 #3D1A72 #5725A4 #7235D1 #9567DD

Accessibility & contrast

On white

9.52
#5725A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5725A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725A4
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725A4#FFFFFF#000000##FFFFFF
##5725A41.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#404863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5725a4;
/* rgb */ color: rgb(87, 37, 164);
/* oklch */ color: oklch(41.5% 0.188 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e65c0',
    500: '#5725a4',
    950: '#000000',
  },
}
SCSS
$custom: #5725a4;
$custom-light: #8e65c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5725a4",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 263.622,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.18752,
    "h": 294.6
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#5725A4
secondary
#9DC262
accent
#E642A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5725A4

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

Preview Lab → · Contrast checker → · Palette generator →

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