#5725C4#5725C4

#5725C4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.222 H 287.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#5725C4
RGBrgb(87, 37, 196)
HSLhsl(259, 68%, 46%)
HSVhsv(259, 81%, 77%)
CMYKcmyk(55.6%, 81.1%, 0%, 23.1%)
CIE-LABlab(32.56, 58.20, -73.47)
CIE-LCHlch(32.56, 93.73, 308.38°)
OKLaboklab(44.52% 0.068 -0.2115)
OKLCHoklch(44.52% 0.222 287.8)
XYZxyz(14.5529, 7.3341, 52.8626)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5725C4 #92C425
analogous
#2542C4 #5725C4 #A625C4
triadic
#5725C4 #C45725 #25C457
tetradic
#5725C4 #C42542 #92C425 #25C4A6
square
#5725C4 #C42542 #92C425 #25C4A6
split-complementary
#5725C4 #C4A625 #42C425
monochromatic
#29125D #401B91 #5725C4 #7849DD #9E7DE6

Accessibility & contrast

On white

8.51
#5725C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5725C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5725C4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5725C4#FFFFFF#000000##FFFFFF
##5725C41.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#265576
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5725c4;
/* rgb */ color: rgb(87, 37, 196);
/* oklch */ color: oklch(44.5% 0.222 287.8);
Tailwind
colors: {
  custom: {
    50: '#9367d7',
    500: '#5725c4',
    950: '#000000',
  },
}
SCSS
$custom: #5725c4;
$custom-light: #9367d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5725c4",
  "rgb": {
    "r": 87,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 258.868,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.22217,
    "h": 287.8
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#5725C4
secondary
#B3CF76
accent
#EB3DB4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5725C4

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

Preview Lab → · Contrast checker → · Palette generator →

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