#5726A0#5726A0

#5726A0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.182 H 295.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5726A0
RGBrgb(87, 38, 160)
HSLhsl(264, 62%, 39%)
HSVhsv(264, 76%, 63%)
CMYKcmyk(45.6%, 76.3%, 0%, 37.3%)
CIE-LABlab(29.29, 48.22, -57.37)
CIE-LCHlch(29.29, 74.94, 310.05°)
OKLaboklab(41.21% 0.0783 -0.1644)
OKLCHoklch(41.21% 0.182 295.5)
XYZxyz(10.9671, 5.9503, 33.8216)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5726A0 #6FA026
analogous
#2632A0 #5726A0 #9426A0
triadic
#5726A0 #A05726 #26A057
tetradic
#5726A0 #A02632 #6FA026 #26A094
square
#5726A0 #A02632 #6FA026 #26A094
split-complementary
#5726A0 #A09426 #32A026
monochromatic
#210F3D #3C1A6F #5726A0 #7234CF #9566DB

Accessibility & contrast

On white

9.59
#5726A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5726A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5726A0
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5726A0#FFFFFF#000000##FFFFFF
##5726A01.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5726a0;
/* rgb */ color: rgb(87, 38, 160);
/* oklch */ color: oklch(41.2% 0.182 295.5);
Tailwind
colors: {
  custom: {
    50: '#8e66bd',
    500: '#5726a0',
    950: '#000000',
  },
}
SCSS
$custom: #5726a0;
$custom-light: #8e66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5726a0",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 264.098,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.18206,
    "h": 295.5
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#5726A0
secondary
#9AC061
accent
#E543A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5726A0

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

Preview Lab → · Contrast checker → · Palette generator →

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