#5725A0#5725A0

#5725A0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.183 H 295.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#5725A0
RGBrgb(87, 37, 160)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 77%, 63%)
CMYKcmyk(45.6%, 76.9%, 0%, 37.3%)
CIE-LABlab(29.13, 48.68, -57.63)
CIE-LCHlch(29.13, 75.44, 310.18°)
OKLaboklab(41.1% 0.0792 -0.1651)
OKLCHoklch(41.1% 0.183 295.6)
XYZxyz(10.9355, 5.8872, 33.8111)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725A0 #6EA025
analogous
#2530A0 #5725A0 #9425A0
triadic
#5725A0 #A05725 #25A057
tetradic
#5725A0 #A02530 #6EA025 #25A094
square
#5725A0 #A02530 #6EA025 #25A094
split-complementary
#5725A0 #A09425 #30A025
monochromatic
#210E3D #3C1A6E #5725A0 #7232D0 #9564DB

Accessibility & contrast

On white

9.64
#5725A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5725A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725A0
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725A0#FFFFFF#000000##FFFFFF
##5725A01.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#434661
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5725a0;
/* rgb */ color: rgb(87, 37, 160);
/* oklch */ color: oklch(41.1% 0.183 295.6);
Tailwind
colors: {
  custom: {
    50: '#8e65bd',
    500: '#5725a0',
    950: '#000000',
  },
}
SCSS
$custom: #5725a0;
$custom-light: #8e65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5725a0",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 264.39,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.411,
    "c": 0.18312,
    "h": 295.6
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#5725A0
secondary
#99C160
accent
#E642A3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5725A0

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

Preview Lab → · Contrast checker → · Palette generator →

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