#5725BC#5725BC

#5725BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.214 H 289.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5725BC
RGBrgb(87, 37, 188)
HSLhsl(260, 67%, 44%)
HSVhsv(260, 80%, 74%)
CMYKcmyk(53.7%, 80.3%, 0%, 26.3%)
CIE-LABlab(31.76, 56.08, -70.07)
CIE-LCHlch(31.76, 89.75, 308.67°)
OKLaboklab(43.74% 0.0707 -0.2016)
OKLCHoklch(43.74% 0.214 289.3)
XYZxyz(13.6665, 6.9796, 48.1943)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725BC #8ABC25
analogous
#253EBC #5725BC #A325BC
triadic
#5725BC #BC5725 #25BC57
tetradic
#5725BC #BC253E #8ABC25 #25BCA3
square
#5725BC #BC253E #8ABC25 #25BCA3
split-complementary
#5725BC #BCA325 #3EBC25
monochromatic
#281156 #3F1B89 #5725BC #7644DA #9B77E4

Accessibility & contrast

On white

8.76
#5725BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5725BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725BC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725BC#FFFFFF#000000##FFFFFF
##5725BC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#2F5271
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5725bc;
/* rgb */ color: rgb(87, 37, 188);
/* oklch */ color: oklch(43.7% 0.214 289.3);
Tailwind
colors: {
  custom: {
    50: '#9267d1',
    500: '#5725bc',
    950: '#000000',
  },
}
SCSS
$custom: #5725bc;
$custom-light: #9267d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5725bc",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 259.868,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.21361,
    "h": 289.3
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#5725BC
secondary
#AECC71
accent
#EA3EB1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5725BC

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

Preview Lab → · Contrast checker → · Palette generator →

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